summary refs log tree commit diff stats
path: root/src/common
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-07-13 19:20:55 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-07-13 19:20:55 +0200
commitcc28cc0177aee6fc93436443597078e5be374354 (patch)
tree0b5aef658cbf95033047449d1229bfc1a585bf10 /src/common
parent2e73e515057bddd77d04438bb8cb51c19bb7fa9a (diff)
Make the About screen and CTCP VERSION consistent and remove the license text option
Diffstat (limited to 'src/common')
-rw-r--r--src/common/cfgfiles.c2
-rw-r--r--src/common/ctcp.c2
-rw-r--r--src/common/xchat.h1
3 files changed, 1 insertions, 4 deletions
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];