src/version.cc

changeset 837
8fc2d4b352c7
parent 808
a7d5a97839a0
child 840
d077dd19bf9a
--- 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