Fix some window title issues, etc.

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

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)