changed using different macro (with same functionality)
authorHolger Schemel <holger.schemel@virtion.de>
Wed, 27 Nov 2024 19:52:47 +0000 (20:52 +0100)
committerHolger Schemel <holger.schemel@virtion.de>
Wed, 27 Nov 2024 17:53:57 +0000 (18:53 +0100)
src/config.c

index 049d7a896f7fd14399a4af2c05745d684d55f29f..0639062e127fdac10bac7b1dc5023cd1efafe4c3 100644 (file)
@@ -41,10 +41,10 @@ char *getVersionString(VersionType version)
   version_string_nr = (version_string_nr + 1) % 10;
 
   sprintf(version_string, "%d.%d.%d.%d",
-          VERSION_PART_1(version),
-          VERSION_PART_2(version),
-          VERSION_PART_3(version),
-          VERSION_PART_4(version));
+          VERSION_SUPER(version),
+          VERSION_MAJOR(version),
+          VERSION_MINOR(version),
+          VERSION_PATCH(version));
 
   return version_string;
 }