From 75904d4a044f0094e1c6cb102ca6b439700aa734 Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Fri, 25 Nov 2011 11:15:17 +0100 Subject: an ugly hack to make the about screen consistent --- src/fe-gtk/about.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/fe-gtk/about.c b/src/fe-gtk/about.c index e1e5149c..a5772e39 100644 --- a/src/fe-gtk/about.c +++ b/src/fe-gtk/about.c @@ -116,9 +116,9 @@ menu_about (GtkWidget * wid, gpointer sess) g_get_charset (&locale); (snprintf) (buf, sizeof (buf), ""DISPLAY_NAME" "PACKAGE_VERSION"\n" - "%s\n\n" #ifdef WIN32 - "XChat Release: "XCHAT_RELEASE"\n\n" + "%s%s%s" + "\nXChat Release: "XCHAT_RELEASE"\n\n" "OS: %s\n" "Charset: %s " "GTK+: %i.%i.%i\n" @@ -129,7 +129,9 @@ menu_about (GtkWidget * wid, gpointer sess) "\302\251 1998-2010 Peter \305\275elezn\303\275 <zed@xchat.org>" /* "\nhttp://code.google.com/p/xchat-wdk/" this is broken in gtk ATM */ "", - prefs.gui_license, + (strcmp (prefs.gui_license, "") ? "" : ""), + (strcmp (prefs.gui_license, "") ? prefs.gui_license : ""), + (strcmp (prefs.gui_license, "") ? "\n" : ""), get_cpu_str (), locale, gtk_major_version, -- cgit 1.4.1