1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

Use ; as separator instead of ,

This commit is contained in:
LemonBoy 2016-06-13 14:07:04 +02:00
parent 9a30ab53df
commit 439e21f127
2 changed files with 2 additions and 2 deletions

View File

@ -210,7 +210,7 @@ static void settings_add(const char *module, const char *section,
return; return;
} }
choices_vec = g_strsplit(choices, ",", -1); choices_vec = g_strsplit(choices, ";", -1);
/* validate the default value */ /* validate the default value */
if (default_value->v_int < 0 || default_value->v_int >= g_strv_length(choices_vec)) { if (default_value->v_int < 0 || default_value->v_int >= g_strv_length(choices_vec)) {

View File

@ -1017,7 +1017,7 @@ void irc_server_init_isupport(IRC_SERVER_REC *server)
void irc_servers_init(void) void irc_servers_init(void)
{ {
settings_add_choice("servers", "rejoin_channels_on_reconnect", 1, "off,on,auto"); settings_add_choice("servers", "rejoin_channels_on_reconnect", 1, "off;on;auto");
settings_add_str("misc", "usermode", DEFAULT_USER_MODE); settings_add_str("misc", "usermode", DEFAULT_USER_MODE);
settings_add_str("misc", "split_line_start", ""); settings_add_str("misc", "split_line_start", "");
settings_add_str("misc", "split_line_end", ""); settings_add_str("misc", "split_line_end", "");