mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
Use ; as separator instead of ,
This commit is contained in:
parent
9a30ab53df
commit
439e21f127
@ -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)) {
|
||||||
|
@ -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", "");
|
||||||
|
Loading…
Reference in New Issue
Block a user