mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 08:43:38 +01:00
Fix some window title issues, etc.
This commit is contained in:
1 parent
e5c6cea6f1
commit
87e51a5c04
6 files changed
+10
-19
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user