changeset 31796:a6abbb323d04

10l: Add the Subversion revision to the version string, not "VERSION".
author diego
date Sat, 31 Jul 2010 15:17:17 +0000
parents e9739c0f84ed
children 895706bb6e5c
files mpcommon.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mpcommon.c	Sat Jul 31 13:47:47 2010 +0000
+++ b/mpcommon.c	Sat Jul 31 15:17:17 2010 +0000
@@ -45,8 +45,8 @@
 sub_data* subdata = NULL;
 subtitle* vo_sub_last = NULL;
 
-const char *mencoder_version = "MEncoder VERSION";
-const char *mplayer_version  = "MPlayer VERSION";
+const char *mencoder_version = "MEncoder " VERSION;
+const char *mplayer_version  = "MPlayer "  VERSION;
 
 void print_version(const char* name)
 {