Show SVN revision in plugin title bars too.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@36 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard
2008-07-20 15:36:18 +00:00
parent 925e94dc7a
commit 4175db3aa3
4 changed files with 11 additions and 4 deletions

View File

@ -4,6 +4,7 @@
#include "Common.h"
#include "svnrev.h"
#include "resource.h"
#include "main.h"
#include "Globals.h"
@ -61,7 +62,9 @@ BOOL Callback_PeekMessages()
void UpdateFPSDisplay(const char *text)
{
SetWindowText(EmuWindow::GetWnd(), text);
char temp[512];
sprintf(temp, "SVN R%i: %s", SVN_REV, text);
SetWindowText(EmuWindow::GetWnd(), temp);
}
bool Init()