- altered the non-release version string format

Sun, 13 Jul 2014 17:05:28 +0300

author
Teemu Piippo <crimsondusk64@gmail.com>
date
Sun, 13 Jul 2014 17:05:28 +0300
changeset 837
8fc2d4b352c7
parent 836
a522e1cd92af
child 838
8f58e1249687

- altered the non-release version string format

src/version.cc file | annotate | diff | comparison | revisions
--- a/src/version.cc	Sun Jul 13 17:02:43 2014 +0300
+++ b/src/version.cc	Sun Jul 13 17:05:28 2014 +0300
@@ -53,9 +53,9 @@
 	if (g_fullVersionString[0] == '\0')
 	{
 #if BUILD_ID != BUILD_RELEASE && defined (SVN_REVISION_STRING)
-		strcpy (g_fullVersionString, SVN_REVISION_STRING);
+		sprintf (g_fullVersionString, "%s-" SVN_REVISION_STRING, versionString());
 #else
-		sprintf (g_fullVersionString, "v%s", versionString());
+		sprintf (g_fullVersionString, "%s", versionString());
 #endif
 	}
 

mercurial