From 74838465c327b252aade679ca2e69ad176902a93 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 16 Feb 2007 06:34:46 +0000 Subject: [PATCH] fix "Font" attribute --- stepmania/src/BitmapText.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stepmania/src/BitmapText.cpp b/stepmania/src/BitmapText.cpp index d6e313479f..d999cdd48b 100644 --- a/stepmania/src/BitmapText.cpp +++ b/stepmania/src/BitmapText.cpp @@ -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