Permalink
Browse files

Win32: Add (debug) to window title in debug builds

  • Loading branch information...
hrydgard committed Nov 13, 2017
1 parent c3c4ec4 commit d97ee992037705e8e1d8bb6e7489b7da7456b56f
Showing with 3 additions and 0 deletions.
  1. +3 −0 Windows/WindowsHost.cpp
View
@@ -159,6 +159,9 @@ void WindowsHost::SetWindowTitle(const char *message) {
winTitle.append(ConvertUTF8ToWString(" - "));
winTitle.append(ConvertUTF8ToWString(message));
}
#ifdef _DEBUG
winTitle.append(L" (debug)");
#endif
MainWindow::SetWindowTitle(winTitle.c_str());
PostMessage(mainWindow_, MainWindow::WM_USER_WINDOW_TITLE_CHANGED, 0, 0);

0 comments on commit d97ee99

Please sign in to comment.