From 2f8a68671a21239eaec6d20d97892921454173af Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Sat, 5 Jul 2008 02:09:23 +0000 Subject: [PATCH] global stuff goes in [Common], not [main] --- stepmania/src/Font.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/stepmania/src/Font.cpp b/stepmania/src/Font.cpp index 2a10a29a46..ee440c96ed 100644 --- a/stepmania/src/Font.cpp +++ b/stepmania/src/Font.cpp @@ -687,11 +687,11 @@ void Font::Load( const RString &sIniPath, RString sChars ) if( !sIniPath.empty() ) { ini.ReadFile( sIniPath ); - ini.RenameKey("Char Widths", "main"); - ini.GetValue( "main", "CapitalsOnly", bCapitalsOnly ); - ini.GetValue( "main", "RightToLeft", m_bRightToLeft ); + ini.RenameKey("Char Widths", "main"); // backward compat + ini.GetValue( "common", "CapitalsOnly", bCapitalsOnly ); + ini.GetValue( "common", "RightToLeft", m_bRightToLeft ); RString s; - if( ini.GetValue( "main", "DefaultStrokeColor", s ) ) + if( ini.GetValue( "common", "DefaultStrokeColor", s ) ) m_DefaultStrokeColor.FromString( s ); }