Fix dialog when enable RDB edit mode

This commit is contained in:
Nekokabu 2015-12-26 14:01:47 +09:00
parent 05602d1939
commit 53ddd7e78c
1 changed files with 4 additions and 3 deletions

View File

@ -112,9 +112,10 @@ 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());
::SetWindowTextW(m_hWnd, stdwstr_f(L"%ws ** RDB Edit Mode **", wGS(OPTIONS_TITLE).c_str() ).c_str());
}
else {
else
{
::SetWindowTextW(m_hWnd, wGS(OPTIONS_TITLE).c_str());
}
@ -340,4 +341,4 @@ void CSettingConfig::BoldChangedPages(HTREEITEM hItem)
::EnableWindow(GetDlgItem(IDC_RESET_ALL), true);
}
}
#endif
#endif