src/gui.cpp

changeset 229
b9e101b76eb3
parent 227
e13cd69b16dd
child 230
43d722c255d3
--- a/src/gui.cpp	Sun May 19 14:34:15 2013 +0300
+++ b/src/gui.cpp	Sun May 19 15:36:01 2013 +0300
@@ -492,18 +492,7 @@
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 // =============================================================================
 void ForgeWindow::updateTitle () {
-	str title = APPNAME " v";
-	title += versionString;
-	
-#if BUILD_ID == BUILD_INTERNAL
-	title += " Internal";
-#elif BUILD_ID == BUILD_ALPHA
-	title += " Alpha";
-#elif BUILD_ID == BUILD_BETA
-	title += " Beta";
-#elif BUILD_ID == BUILD_RC
-	title += " RC";
-#endif // BUILD_ID
+	str title = fmt (APPNAME " %s", fullVersionString().chars ());
 	
 	// Append our current file if we have one
 	if (g_curfile) {

mercurial