diff options
author | Guy Harris <guy@alum.mit.edu> | 2006-10-20 09:06:24 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2006-10-20 09:06:24 +0000 |
commit | b12232d7a1cab58f0d9bf59670aa292a6d578039 (patch) | |
tree | 9d81de237e490572ecf07051e0b8056348166edf /gtk | |
parent | 22a949a42fdf4cb21b87ab871317d8a0348f92d1 (diff) |
Do the word-wrapping in end_string(), once the string is completely
constructed. Clean up the insertion of ", ".
Put the runtime libpcap version into the runtime version info.
svn path=/trunk/; revision=19625
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/main.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gtk/main.c b/gtk/main.c index 5c56984cd3..4fa68ed5eb 100644 --- a/gtk/main.c +++ b/gtk/main.c @@ -2020,7 +2020,6 @@ get_gui_compiled_info(GString *str) #endif /* HAVE_LIBPORTAUDIO */ g_string_append(str, ", "); - #ifdef HAVE_AIRPCAP get_compiled_airpcap_version(str); #else @@ -2029,9 +2028,14 @@ get_gui_compiled_info(GString *str) } static void -get_gui_runtime_info(GString *str) +get_gui_runtime_info(GString *str +#ifndef HAVE_AIRPCAP + _U_ +#endif +) { #ifdef HAVE_AIRPCAP + g_string_append(str, ", "); get_runtime_airpcap_version(str); #endif } |