Take care of the Prefs Manager WHITE SPACE.
This commit is contained in:
@@ -499,14 +499,14 @@ void PrefsManager::SavePrefsToIni( IniFile &ini )
|
||||
pNode = ini.AppendChild( "Options" );
|
||||
IPreference::SavePrefsToNode( pNode );
|
||||
|
||||
FOREACHM_CONST( RString, GamePrefs, m_mapGameNameToGamePrefs, iter )
|
||||
for (auto const &iter : m_mapGameNameToGamePrefs)
|
||||
{
|
||||
RString sSection = "Game-" + RString( iter->first );
|
||||
RString sSection = "Game-" + RString( iter.first );
|
||||
|
||||
// todo: write more values here? -aj
|
||||
ini.SetValue( sSection, "Announcer", iter->second.m_sAnnouncer );
|
||||
ini.SetValue( sSection, "Theme", iter->second.m_sTheme );
|
||||
ini.SetValue( sSection, "DefaultModifiers", iter->second.m_sDefaultModifiers );
|
||||
ini.SetValue( sSection, "Announcer", iter.second.m_sAnnouncer );
|
||||
ini.SetValue( sSection, "Theme", iter.second.m_sTheme );
|
||||
ini.SetValue( sSection, "DefaultModifiers", iter.second.m_sDefaultModifiers );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user