Merge pull request #852 from Nekokabu/patch-2

Fix dialog when enable RDB edit mode
This commit is contained in:
zilmar 2015-12-26 17:54:51 +11:00
commit 2b5ac8ed67
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, stdstr_f("%s ** RDB Edit Mode **", GS(OPTIONS_TITLE)).ToUTF16().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