summaryrefslogtreecommitdiff
path: root/src/cmd4.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2010-01-10 19:11:13 +0100
committerBardur Arantsson <bardur@scientician.net>2010-01-10 19:32:02 +0100
commitfc7620691b3dff4b502042d889fd75bb85170c16 (patch)
tree372f8a18d127d06127b51bb3601ffdf97c8bbff8 /src/cmd4.c
parent3d46b09fe21dfdea43b0e4e224363ecb67a0fb9b (diff)
Refactor version string construction to a function.
Diffstat (limited to 'src/cmd4.c')
-rw-r--r--src/cmd4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd4.c b/src/cmd4.c
index 919adddc..897fc063 100644
--- a/src/cmd4.c
+++ b/src/cmd4.c
@@ -2937,8 +2937,8 @@ void do_cmd_version(void)
call_lua("get_module_info", "(s,d)", "s", "author", 2, &email);
/* Silly message */
- msg_format("You are playing %s %d.%d.%d%s made by %s (%s).",
- game_module, VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH, IS_CVS,
+ msg_format("You are playing %s made by %s (%s).",
+ get_version_string(),
author, email);
call_lua("patchs_display", "()", "");
}