version number set to 4.0.0.0 RC1 4.0.0.0-rc1
authorHolger Schemel <info@artsoft.org>
Thu, 14 Apr 2016 23:01:03 +0000 (01:01 +0200)
committerHolger Schemel <info@artsoft.org>
Thu, 14 Apr 2016 23:01:03 +0000 (01:01 +0200)
src/config.c
src/main.c
src/main.h

index 3b75f709207583ab77737813336b30282ff315ec..2e90887055567ac070a36b5527d6ca98697dc473 100644 (file)
@@ -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;
 }
index 69b72b4e6764156f8842ac875515f13e64d0944b..c33369729d47972a43a70f223f99cb7df4d3285e 100644 (file)
@@ -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)
   {
index 16c73cc4267f08dafb977cba289c342dbbf4709e..f61c4edc85d58372aedbd126a0f8584a8b3ed6f0 100644 (file)
 #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"