Fix some window title issues, etc.
This commit is contained in:
parent
e5c6cea6f1
commit
87e51a5c04
6 changed files with 10 additions and 19 deletions
|
@ -96,7 +96,9 @@ void WindowsHost::ShutdownGL()
|
|||
|
||||
void WindowsHost::SetWindowTitle(const char *message)
|
||||
{
|
||||
std::string title = std::string("PPSSPP ") + PPSSPP_GIT_VERSION + " - " + message;
|
||||
std::string title = std::string("PPSSPP ") + PPSSPP_GIT_VERSION;
|
||||
if (message)
|
||||
title = title + " - " + message;
|
||||
|
||||
int size = MultiByteToWideChar(CP_UTF8, 0, title.c_str(), (int) title.size(), NULL, 0);
|
||||
if (size > 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue