diff options
author | Bardur Arantsson <bardur@scientician.net> | 2010-01-10 19:11:13 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2010-01-10 19:32:02 +0100 |
commit | fc7620691b3dff4b502042d889fd75bb85170c16 (patch) | |
tree | 372f8a18d127d06127b51bb3601ffdf97c8bbff8 /src/cmovie.c | |
parent | 3d46b09fe21dfdea43b0e4e224363ecb67a0fb9b (diff) |
Refactor version string construction to a function.
Diffstat (limited to 'src/cmovie.c')
-rw-r--r-- | src/cmovie.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmovie.c b/src/cmovie.c index da4dee63..d7a3fa17 100644 --- a/src/cmovie.c +++ b/src/cmovie.c @@ -365,8 +365,8 @@ void do_record_cmovie(cptr cmovie) } /* First thing: Record clear screen then enable the recording */ - fprintf(movfile, "# Generated by %s %ld.%ld.%ld\n", - game_module, VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH); + fprintf(movfile, "# Generated by %s\n", + get_version_string()); fprintf(movfile, "C:\n"); last_paused = 0; do_movies = 1; |