better encapsulation

This commit is contained in:
Glenn Maynard
2005-10-09 01:36:04 +00:00
parent 0940df4b49
commit 797653e5a4
3 changed files with 13 additions and 7 deletions
+1 -5
View File
@@ -1081,11 +1081,7 @@ int main(int argc, char* argv[])
/* Set up the theme and announcer, and switch to the last game type. */
ReadGamePrefsFromDisk( true );
{
CString sSection = "Preferences";
GetCommandlineArgument( "Type", &sSection );
THEME->LoadPreferencesFromSection( sSection );
}
THEME->LoadPreferencesFromMetrics();
{
/* Now that THEME is loaded, load the icon for the current theme into the