From 9e72b99f926405285164c92153ff840c8157b7d2 Mon Sep 17 00:00:00 2001 From: Ulf Lamping Date: Fri, 22 Sep 2006 23:08:06 +0000 Subject: [PATCH] Slightly reshape the version text: Bring the OS info above the WinPcap text - this just makes more sense IMHO svn path=/trunk/; revision=19294 --- capture-wpcap.c | 3 ++- version_info.c | 10 +++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/capture-wpcap.c b/capture-wpcap.c index 297261be08..169ee2a957 100644 --- a/capture-wpcap.c +++ b/capture-wpcap.c @@ -700,7 +700,8 @@ get_runtime_pcap_version(GString *str) } } else g_string_append(str, "without WinPcap"); - g_string_append(str, " "); + + /*g_string_append(str, " ");*/ } #else /* HAVE_LIBPCAP */ diff --git a/version_info.c b/version_info.c index e3ad4eb8b1..3cec88e08d 100644 --- a/version_info.c +++ b/version_info.c @@ -292,9 +292,8 @@ get_runtime_version_info(GString *str) struct utsname name; #endif - get_runtime_pcap_version(str); - g_string_append(str, "on "); + #if defined(_WIN32) /* * See @@ -448,7 +447,12 @@ get_runtime_version_info(GString *str) #else g_string_append(str, "an unknown OS"); #endif - g_string_append(str, "."); + + g_string_append(str, "\n"); + + get_runtime_pcap_version(str); + + g_string_append(str, "."); end_string(str); }