# HG changeset patch # User Teemu Piippo # Date 1418695613 -7200 # Node ID 5e968dc8d552598f5bb5343bd5fa0c24088b6ee9 # Parent 0da5f358f2981b8944133f2afe11767e842852aa - set release mode diff -r 0da5f358f298 -r 5e968dc8d552 sources/version.cpp --- a/sources/version.cpp Tue Dec 16 03:59:52 2014 +0200 +++ b/sources/version.cpp Tue Dec 16 04:06:53 2014 +0200 @@ -43,6 +43,9 @@ FUNCTION full_version_string() -> const char* { +#ifdef IS_RELEASE + return VERSION_STRING; +#else static char buffer[128] = {0}; if (buffer[0] == '\0') @@ -54,6 +57,7 @@ } return buffer; +#endif } // ------------------------------------------------------------------------------------------------- diff -r 0da5f358f298 -r 5e968dc8d552 sources/version.h --- a/sources/version.h Tue Dec 16 03:59:52 2014 +0200 +++ b/sources/version.h Tue Dec 16 04:06:53 2014 +0200 @@ -36,6 +36,8 @@ #define VERSION_MINOR 0 #define VERSION_PATCH 0 +#define IS_RELEASE + // ------------------------------------------------------------------------------------------------- // Version string