fix "Font" attribute
This commit is contained in:
@@ -106,8 +106,7 @@ void BitmapText::LoadFromNode( const XNode* pNode )
|
|||||||
ThemeManager::EvaluateString( sAltText );
|
ThemeManager::EvaluateString( sAltText );
|
||||||
|
|
||||||
RString sFont;
|
RString sFont;
|
||||||
pNode->GetAttrValue( "Font", sFont );
|
ActorUtil::GetAttrPath( pNode, "Font", sFont );
|
||||||
ActorUtil::GetAttrPath( pNode, "FilFont", sFont );
|
|
||||||
if( sFont.empty() )
|
if( sFont.empty() )
|
||||||
ActorUtil::GetAttrPath( pNode, "File", sFont ); // accept "File" for backward compatibility
|
ActorUtil::GetAttrPath( pNode, "File", sFont ); // accept "File" for backward compatibility
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user