Found another SVN_STR

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@781 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee 2008-10-05 19:31:51 +00:00
parent 6336af92a1
commit 1fb3779ed6
2 changed files with 6 additions and 13 deletions

View File

@ -45,7 +45,6 @@ def GenerateRevFile(flavour, template, output):
revstr = svnrev + "-" + flavour revstr = svnrev + "-" + flavour
tmpstr = open(template, "r").read().replace("$WCREV$",revstr) tmpstr = open(template, "r").read().replace("$WCREV$",revstr)
template.close()
outfile = open(output, 'w') outfile = open(output, 'w')
outfile.write(tmpstr +"\n") outfile.write(tmpstr +"\n")

View File

@ -17,9 +17,10 @@
#include <vector> #include <vector>
#include <string> #include <string>
#include "svnrev.h"
#ifdef WIN32 #ifdef WIN32
#include <crtdbg.h> #include <crtdbg.h>
#include "svnrev.h"
#endif #endif
#include "CPUDetect.h" #include "CPUDetect.h"
#include "Globals.h" #include "Globals.h"
@ -132,18 +133,11 @@ bool DolphinApp::OnInit()
SConfig::GetInstance().LoadSettings(); SConfig::GetInstance().LoadSettings();
wxInitAllImageHandlers(); wxInitAllImageHandlers();
// Create the main frame window // Create the main frame window
#ifdef _WIN32
#ifdef _DEBUG #ifdef _DEBUG
const char *title = "Dolphin Debug SVN R " SVN_REV_STR; const char *title = "Dolphin Debug SVN R " SVN_REV_STR;
#else
const char *title = "Dolphin SVN R " SVN_REV_STR;
#endif
#else #else
#ifdef _DEBUG const char *title = "Dolphin SVN R " SVN_REV_STR;
const char *title = "Dolphin Debug SVN Linux";
#else
const char *title = "Dolphin SVN Linux";
#endif
#endif #endif
// --------------------------------------------------------------------------------------- // ---------------------------------------------------------------------------------------