diff options
author | Guy Harris <guy@alum.mit.edu> | 2005-09-03 18:21:48 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2005-09-03 18:21:48 +0000 |
commit | f0b7251b34e7f41357945d2f3cf612189d20da02 (patch) | |
tree | e38d43809700525502522a2862bbd6ded6fd853e /gtk | |
parent | 621cf58ac55589fd3056fc5f92c073b7bde54e56 (diff) |
Use the "svnversion" variable, exported by version_info.c, to print the
version number from SVN for non-release builds, just as Tethereal does.
Fixes bug 408.
svn path=/trunk/; revision=15674
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/main.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gtk/main.c b/gtk/main.c index e2aa215c96..5e589ef522 100644 --- a/gtk/main.c +++ b/gtk/main.c @@ -1119,12 +1119,8 @@ show_version(void) create_console(); #endif - printf(PACKAGE " " VERSION -#ifdef SVNVERSION - " (" SVNVERSION ")" -#endif - "\n\n%s\n\n%s\n", - comp_info_str->str, runtime_info_str->str); + printf(PACKAGE " " VERSION "%s\n\n%s\n\n%s\n", + svnversion, comp_info_str->str, runtime_info_str->str); #ifdef _WIN32 destroy_console(); |