[Project64] Cleanup SettingsConfig.cpp

This commit is contained in:
zilmar 2015-12-24 06:12:57 +11:00
parent 2e4d73defa
commit c664e9a578
2 changed files with 298 additions and 299 deletions

View File

@ -113,7 +113,8 @@ LRESULT CSettingConfig::OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*
if (g_Settings->LoadBool(Setting_RdbEditor))
{
SetWindowText(stdstr_f("%ws ** RDB Edit Mode **", GS(OPTIONS_TITLE)).c_str());
} else {
}
else {
::SetWindowTextW(m_hWnd, GS(OPTIONS_TITLE));
}
@ -163,7 +164,6 @@ LRESULT CSettingConfig::OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*
m_Sections.push_back(GameSettings);
}
m_PagesTreeList.Attach(GetDlgItem(IDC_PAGELIST));
bool bFirstItem = true;
@ -274,7 +274,6 @@ void CSettingConfig::ApplySettings( bool UpdateScreen )
::EnableWindow(GetDlgItem(IDC_RESET_PAGE), m_CurrentPage->EnableReset());
}
if (!g_Settings->LoadStringVal(Game_IniKey).empty())
{
stdstr GoodName = g_Settings->LoadStringVal(Rdb_GoodName);