From: Holger Schemel Date: Thu, 14 Apr 2016 23:01:03 +0000 (+0200) Subject: version number set to 4.0.0.0 RC1 X-Git-Tag: 4.0.0.0-rc1^0 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=beb79ae685067eea01929edcd49429469ad550d9;p=rocksndiamonds.git version number set to 4.0.0.0 RC1 --- diff --git a/src/config.c b/src/config.c index 3b75f709..2e908870 100644 --- a/src/config.c +++ b/src/config.c @@ -29,9 +29,9 @@ char *getProgramVersionString() { static char program_version_string[32]; - sprintf(program_version_string, "%d.%d.%d.%d", + sprintf(program_version_string, "%d.%d.%d.%d%s", PROGRAM_VERSION_MAJOR, PROGRAM_VERSION_MINOR, PROGRAM_VERSION_PATCH, - PROGRAM_VERSION_BUILD); + PROGRAM_VERSION_BUILD, PROGRAM_VERSION_EXTRA); return program_version_string; } diff --git a/src/main.c b/src/main.c index 69b72b4e..c3336972 100644 --- a/src/main.c +++ b/src/main.c @@ -5652,12 +5652,13 @@ static void print_usage() static void print_version() { - Print("%s %d.%d.%d.%d\n", + Print("%s %d.%d.%d.%d%s\n", PROGRAM_TITLE_STRING, PROGRAM_VERSION_MAJOR, PROGRAM_VERSION_MINOR, PROGRAM_VERSION_PATCH, - PROGRAM_VERSION_BUILD); + PROGRAM_VERSION_BUILD, + PROGRAM_VERSION_EXTRA); if (options.debug) { diff --git a/src/main.h b/src/main.h index 16c73cc4..f61c4edc 100644 --- a/src/main.h +++ b/src/main.h @@ -2051,6 +2051,7 @@ #define PROGRAM_VERSION_MINOR 0 #define PROGRAM_VERSION_PATCH 0 #define PROGRAM_VERSION_BUILD 0 +#define PROGRAM_VERSION_EXTRA " RC1" #define PROGRAM_TITLE_STRING "Rocks'n'Diamonds" #define PROGRAM_AUTHOR_STRING "Holger Schemel"