Fix some window title issues, etc.

This commit is contained in:
Henrik Rydgard committed 2013-08-20 17:21:25 +02:00
1 parent e5c6cea6f1
commit 87e51a5c04
6 files changed
+10 -19

No files matched your search

+3 -1
View File
@@ -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)