diff options
author | LemonBoy <thatlemon@gmail.com> | 2016-06-13 14:07:04 +0200 |
---|---|---|
committer | LemonBoy <thatlemon@gmail.com> | 2016-06-13 14:07:04 +0200 |
commit | 439e21f12746519d36e205a3ac053c882d67c024 (patch) | |
tree | 4377fbb71692e9b47a0061719291f6b215216a85 /src | |
parent | 9a30ab53df226acb4586a2f214f3994a7b8b32ea (diff) | |
download | irssi-439e21f12746519d36e205a3ac053c882d67c024.zip |
Use ; as separator instead of ,
Diffstat (limited to 'src')
-rw-r--r-- | src/core/settings.c | 2 | ||||
-rw-r--r-- | src/irc/core/irc-servers.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/settings.c b/src/core/settings.c index 0716103a..e6b5d16f 100644 --- a/src/core/settings.c +++ b/src/core/settings.c @@ -210,7 +210,7 @@ static void settings_add(const char *module, const char *section, return; } - choices_vec = g_strsplit(choices, ",", -1); + choices_vec = g_strsplit(choices, ";", -1); /* validate the default value */ if (default_value->v_int < 0 || default_value->v_int >= g_strv_length(choices_vec)) { diff --git a/src/irc/core/irc-servers.c b/src/irc/core/irc-servers.c index 6f5803ed..c8ba0a48 100644 --- a/src/irc/core/irc-servers.c +++ b/src/irc/core/irc-servers.c @@ -1017,7 +1017,7 @@ void irc_server_init_isupport(IRC_SERVER_REC *server) 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", "split_line_start", ""); settings_add_str("misc", "split_line_end", ""); |