# HG changeset patch # User Teemu Piippo # Date 1405260328 -10800 # Node ID 8fc2d4b352c7b7c3ca80acaa73661304cd90bcc5 # Parent a522e1cd92afd76a2a16b3eb9ab90e6386ab3daf - altered the non-release version string format diff -r a522e1cd92af -r 8fc2d4b352c7 src/version.cc --- 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 }