summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorSoren Jorvang <soren.jorvang@gmail.com>2011-01-11 05:48:22 +0000
committerSoren Jorvang <soren.jorvang@gmail.com>2011-01-11 05:48:22 +0000
commit9c09500a13e0ef2fcc2d7c9fc0468f1e2f76b73f (patch)
treea931dec39ad9d84a3d5c781f7a8c139547cb4915 /Source/Core
parentbb725858eaead1ffab722e431a9a8c1be7276858 (diff)
For some reason the wxGLCanvas loses keyboard focus whenever the
full-screen mode is toggled, so we just re-set it afterwards. Didn't mean to include the version string in the status bar updates. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6814 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/Src/Core.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/Core/Core/Src/Core.cpp b/Source/Core/Core/Src/Core.cpp
index 09e0c76dc0..22cf00ace2 100644
--- a/Source/Core/Core/Src/Core.cpp
+++ b/Source/Core/Core/Src/Core.cpp
@@ -671,8 +671,10 @@ void VideoThrottle()
#endif
// This is our final "frame counter" string
- std::string SMessage = StringFromFormat("%s | %s | %s",
- svn_rev_str, SSettings.c_str(), SFPS.c_str());
+ std::string SMessage = StringFromFormat("%s | %s",
+ SSettings.c_str(), SFPS.c_str());
+ std::string TMessage = StringFromFormat("%s | ", svn_rev_str) +
+ SMessage;
// Show message
if (g_pUpdateFPSDisplay != NULL)
@@ -683,7 +685,7 @@ void VideoThrottle()
Host_UpdateStatusBar(SMessage.c_str());
Host_UpdateTitle(svn_rev_str);
} else
- Host_UpdateTitle(SMessage.c_str());
+ Host_UpdateTitle(TMessage.c_str());
// Reset counter