Make the About screen and CTCP VERSION consistent and remove the license text option

This commit is contained in:
Berke Viktor
2012-07-13 19:20:55 +02:00
parent 2e73e51505
commit cc28cc0177
6 changed files with 11 additions and 32 deletions

View File

@@ -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 ");

View File

@@ -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);

View File

@@ -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];