mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 07:20:49 +00:00
SetWindowText() was doing ANSI conversion.
This commit is contained in:
parent
ad59c7f46d
commit
346095d5f0
@ -53,7 +53,8 @@ void WindowsHost::SetWindowTitle(const char *message)
|
||||
if (size > 0)
|
||||
{
|
||||
utf16_title[size] = 0;
|
||||
SetWindowTextW(mainWindow_, utf16_title);
|
||||
// Don't use SetWindowTextW because it will internally use DefWindowProcA.
|
||||
DefWindowProcW(mainWindow_, WM_SETTEXT, 0, (LPARAM) utf16_title);
|
||||
delete[] utf16_title;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user