From beb79ae685067eea01929edcd49429469ad550d9 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Fri, 15 Apr 2016 01:01:03 +0200 Subject: [PATCH] version number set to 4.0.0.0 RC1 --- src/config.c | 4 ++-- src/main.c | 5 +++-- src/main.h | 1 + 3 files changed, 6 insertions(+), 4 deletions(-) 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" -- 2.34.1