X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=radiant%2Fpreferences.h;h=7ce4943ad26b3e46d5a528ff01b8f1cfe37208e1;hb=27c45113f1053186ab5f7b5c0a80f052c4896a6d;hp=a7739d4dce474fa6bdae9165e85422097c68d153;hpb=fcb70e8e9cf76dd4993312a762e2ee255c1402a0;p=xonotic%2Fnetradiant.git diff --git a/radiant/preferences.h b/radiant/preferences.h index a7739d4d..7ce4943a 100644 --- a/radiant/preferences.h +++ b/radiant/preferences.h @@ -270,7 +270,7 @@ std::list mGames; CGameDialog() : m_sGameFile( "" ), - m_bGamePrompt( true ), + m_bGamePrompt( false ), m_bSkipGamePromptOnce( false ), m_bForceLogConsole( false ){ } @@ -357,13 +357,13 @@ public: ui::Widget m_notebook{ui::null}; -virtual ~PrefsDlg() { +virtual ~PrefsDlg(){ if (m_rc_path) { - g_string_free( m_rc_path, true ); + g_string_free( m_rc_path, true ); } if (m_inipath) { - g_string_free( m_inipath, true ); - } + g_string_free( m_inipath, true ); +} } /*!