fix "Font" attribute

This commit is contained in:
Glenn Maynard
2007-02-16 06:34:46 +00:00
parent 7e1df89ffc
commit 74838465c3
+1 -2
View File
@@ -106,8 +106,7 @@ void BitmapText::LoadFromNode( const XNode* pNode )
ThemeManager::EvaluateString( sAltText );
RString sFont;
pNode->GetAttrValue( "Font", sFont );
ActorUtil::GetAttrPath( pNode, "FilFont", sFont );
ActorUtil::GetAttrPath( pNode, "Font", sFont );
if( sFont.empty() )
ActorUtil::GetAttrPath( pNode, "File", sFont ); // accept "File" for backward compatibility