From cc28cc0177aee6fc93436443597078e5be374354 Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Fri, 13 Jul 2012 19:20:55 +0200 Subject: Make the About screen and CTCP VERSION consistent and remove the license text option --- src/common/cfgfiles.c | 2 -- src/common/ctcp.c | 2 +- src/common/xchat.h | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) (limited to 'src/common') diff --git a/src/common/cfgfiles.c b/src/common/cfgfiles.c index 7f27659d..e448311e 100644 --- a/src/common/cfgfiles.c +++ b/src/common/cfgfiles.c @@ -444,7 +444,6 @@ const struct prefs vars[] = { {"gui_input_style", P_OFFINT (style_inputbox), TYPE_BOOL}, {"gui_join_dialog", P_OFFINT (gui_join_dialog), TYPE_BOOL}, {"gui_lagometer", P_OFFINT (lagometer), TYPE_INT}, - {"gui_license", P_OFFSET (gui_license), TYPE_STR}, {"gui_mode_buttons", P_OFFINT (chanmodebuttons), TYPE_BOOL}, #ifdef WIN32 {"gui_one_instance", P_OFFINT (gui_one_instance), TYPE_BOOL}, @@ -736,7 +735,6 @@ load_config (void) #ifdef WIN32 prefs.identd = 1; #endif - strcpy (prefs.gui_license, ""); strcpy (prefs.spell_langs, g_getenv ("LC_ALL") ? g_getenv ("LC_ALL") : "en_US"); strcpy (prefs.stamp_format, "[%H:%M] "); strcpy (prefs.timestamp_log_format, "%b %d %H:%M:%S "); diff --git a/src/common/ctcp.c b/src/common/ctcp.c index 0bf2f465..ac6a821d 100644 --- a/src/common/ctcp.c +++ b/src/common/ctcp.c @@ -141,7 +141,7 @@ ctcp_handle (session *sess, char *to, char *nick, char *ip, snprintf (outbuf, sizeof (outbuf), "VERSION HexChat "PACKAGE_VERSION" [x%d] / %s", get_cpu_arch (), get_cpu_str ()); #else - snprintf (outbuf, sizeof (outbuf), "VERSION HexChat "PACKAGE_VERSION" %s", + snprintf (outbuf, sizeof (outbuf), "VERSION HexChat "PACKAGE_VERSION" / %s", get_cpu_str ()); #endif serv->p_nctcp (serv, nick, outbuf); diff --git a/src/common/xchat.h b/src/common/xchat.h index 85c20186..6ed5ebe2 100644 --- a/src/common/xchat.h +++ b/src/common/xchat.h @@ -121,7 +121,6 @@ struct xchatprefs char font_normal[FONTNAMELEN + 1]; #endif char doubleclickuser[256]; - char gui_license[64]; char spell_langs[64]; char sounddir[PATHLEN + 1]; char soundcmd[PATHLEN + 1]; -- cgit 1.4.1