diff --git a/Source/Project64/UserInterface/SettingsConfig.cpp b/Source/Project64/UserInterface/SettingsConfig.cpp index 6504a4c0a..8f10072b7 100644 --- a/Source/Project64/UserInterface/SettingsConfig.cpp +++ b/Source/Project64/UserInterface/SettingsConfig.cpp @@ -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 \ No newline at end of file +#endif