diff options
author | Berke Viktor <berkeviktor@aol.com> | 2011-11-25 11:15:17 +0100 |
---|---|---|
committer | Berke Viktor <berkeviktor@aol.com> | 2011-11-25 11:15:17 +0100 |
commit | 75904d4a044f0094e1c6cb102ca6b439700aa734 (patch) | |
tree | 880fbd511e4f8bfbbc0a67d128360e9a63c7cfc1 | |
parent | 720f05488890a3e9005a6b1fca0061945a7f2d8b (diff) |
an ugly hack to make the about screen consistent
-rw-r--r-- | src/fe-gtk/about.c | 8 |
1 files changed, 5 insertions, 3 deletions
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), "<span size=\"x-large\"><b>"DISPLAY_NAME" "PACKAGE_VERSION"</b></span>\n" - "<span size=\"x-large\">%s</span>\n\n" #ifdef WIN32 - "<b>XChat Release</b>: "XCHAT_RELEASE"\n\n" + "%s%s%s" + "\n<b>XChat Release</b>: "XCHAT_RELEASE"\n\n" "<b>OS</b>: %s\n" "<b>Charset</b>: %s " "<b>GTK+</b>: %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>" /* "\n<a href=\"http://code.google.com/p/xchat-wdk/\">http://code.google.com/p/xchat-wdk/</a>" this is broken in gtk ATM */ "</small>", - prefs.gui_license, + (strcmp (prefs.gui_license, "") ? "<span size=\"x-large\">" : ""), + (strcmp (prefs.gui_license, "") ? prefs.gui_license : ""), + (strcmp (prefs.gui_license, "") ? "</span>\n" : ""), get_cpu_str (), locale, gtk_major_version, |