fixed crash on prefs reset; fixed crash on next-leak-spot

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@37 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
spog
2006-03-25 17:54:30 +00:00
parent fe7b2040d4
commit e08e297f3b
4 changed files with 10 additions and 3 deletions

View File

@@ -550,9 +550,9 @@ int main (int argc, char* argv[])
remove_global_pid();
create_local_pid();
g_Preferences.Init(); // must occur before create_local_pid() to allow preferences to be reset
g_Preferences.Init();
create_local_pid();
// in a very particular post-.pid startup
// we may have the console turned on and want to keep it that way