Take care of the Prefs Manager WHITE SPACE.

This commit is contained in:
Jason Felds
2013-04-27 15:17:58 -04:00
parent f710f850bf
commit d5afc54f71
+5 -5
View File
@@ -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 );
}
}