projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b19f42
)
fixed bug when printing "real" program version
author
Holger Schemel
<info@artsoft.org>
Mon, 31 Mar 2025 19:03:42 +0000
(21:03 +0200)
committer
Holger Schemel
<info@artsoft.org>
Mon, 31 Mar 2025 19:03:42 +0000
(21:03 +0200)
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index 41257e939ba1249ff36e7bb2e6901bb252fff525..f191602193ffd65673e5ae42fe224848e3bcb174 100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-9534,15
+9534,7
@@
static void print_version(void)
Print("%s", getProgramInitString());
if (!strEqual(getProgramVersionString(), getProgramRealVersionString()))
- {
- Print(" (%s %d.%d.%d.%d%s)",
- PROGRAM_TITLE_STRING,
- PROGRAM_VERSION_SUPER,
- PROGRAM_VERSION_MAJOR,
- PROGRAM_VERSION_MINOR,
- PROGRAM_VERSION_PATCH,
- PROGRAM_VERSION_EXTRA);
- }
+ Print(" (%s %s)", PROGRAM_TITLE_STRING, getVersionString(GAME_VERSION_ACTUAL_FULL));
Print("\n");