diff -r a76af67a3a4b -r 7b156b764d11 sources/version.cpp --- a/sources/version.cpp Sat Jan 09 02:35:00 2016 +0200 +++ b/sources/version.cpp Sat Jan 09 17:41:21 2016 +0200 @@ -45,14 +45,14 @@ #ifdef HG_TAG return HG_TAG; #else - static char buffer[128] = {0}; + static char buffer[256] = {0}; if (buffer[0] == '\0') { if (strcmp (HG_BRANCH, "default") != 0) - snprintf (buffer, sizeof buffer, "%s-%s (%s)", version_string(), HG_NODE, HG_BRANCH); + sprintf (buffer, "%s-%s (%s)", version_string(), HG_NODE, HG_BRANCH); else - snprintf (buffer, sizeof buffer, "%s-%s", version_string(), HG_NODE); + sprintf (buffer, "%s-%s", version_string(), HG_NODE); } return buffer;