forked from mia/Aegisub
Use FINAL_RELEASE define to determine whether to display beta version number or stable version number. (Currently 2.1.6 vs. 2.2.0.)
Originally committed to SVN as r2579.
This commit is contained in:
parent
c03b3f4069
commit
234ab505bb
1 changed files with 2 additions and 1 deletions
|
@ -73,7 +73,6 @@ struct VersionInfoStruct {
|
|||
wxString SCMStr, VersionStr;
|
||||
|
||||
// Update this whenever a new version is released
|
||||
VersionNumber = _T("v2.1.6");
|
||||
#ifdef _DEBUG
|
||||
IsDebug = true;
|
||||
#else
|
||||
|
@ -103,8 +102,10 @@ struct VersionInfoStruct {
|
|||
}
|
||||
|
||||
#ifdef FINAL_RELEASE
|
||||
VersionNumber = _T("v2.2.0");
|
||||
IsRelease = true;
|
||||
#else
|
||||
VersionNumber = _T("v2.1.6");
|
||||
IsRelease = false;
|
||||
#endif
|
||||
VersionStr = wxString::Format(_T("%s%s"), VersionNumber, IsRelease ? _T("") : _T(" RELEASE PREVIEW"));
|
||||
|
|
Loading…
Reference in a new issue