global stuff goes in [Common], not [main]
This commit is contained in:
@@ -687,11 +687,11 @@ void Font::Load( const RString &sIniPath, RString sChars )
|
|||||||
if( !sIniPath.empty() )
|
if( !sIniPath.empty() )
|
||||||
{
|
{
|
||||||
ini.ReadFile( sIniPath );
|
ini.ReadFile( sIniPath );
|
||||||
ini.RenameKey("Char Widths", "main");
|
ini.RenameKey("Char Widths", "main"); // backward compat
|
||||||
ini.GetValue( "main", "CapitalsOnly", bCapitalsOnly );
|
ini.GetValue( "common", "CapitalsOnly", bCapitalsOnly );
|
||||||
ini.GetValue( "main", "RightToLeft", m_bRightToLeft );
|
ini.GetValue( "common", "RightToLeft", m_bRightToLeft );
|
||||||
RString s;
|
RString s;
|
||||||
if( ini.GetValue( "main", "DefaultStrokeColor", s ) )
|
if( ini.GetValue( "common", "DefaultStrokeColor", s ) )
|
||||||
m_DefaultStrokeColor.FromString( s );
|
m_DefaultStrokeColor.FromString( s );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user