diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-04-15 13:50:01 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-04-15 13:50:01 +0200 |
commit | b87d709a7079e5c20b2d556158f57239c72095b7 (patch) | |
tree | e841adf778886b2a9930445e666584fe4b8e589c /src/plugins/charset/charset.c | |
parent | 362ce3eca8f354d59aa975ff3bf3d35bceaaf3e6 (diff) | |
download | weechat-b87d709a7079e5c20b2d556158f57239c72095b7.zip |
New format for [bar] section in weechat.conf file, bar options can be set with /set command
Diffstat (limited to 'src/plugins/charset/charset.c')
-rw-r--r-- | src/plugins/charset/charset.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/charset/charset.c b/src/plugins/charset/charset.c index 4055d994b..fc67b889a 100644 --- a/src/plugins/charset/charset.c +++ b/src/plugins/charset/charset.c @@ -124,7 +124,7 @@ charset_config_create_option (void *data, struct t_config_file *config_file, rc = weechat_config_option_set (ptr_option, value, 1); else { - weechat_config_option_free (section, ptr_option); + weechat_config_option_free (ptr_option); rc = 1; } } @@ -170,6 +170,7 @@ charset_config_init () return 0; ptr_section = weechat_config_new_section (charset_config_file, "default", + 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, @@ -198,6 +199,7 @@ charset_config_init () NULL, NULL, NULL, NULL, NULL, NULL); ptr_section = weechat_config_new_section (charset_config_file, "decode", + 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, @@ -211,6 +213,7 @@ charset_config_init () charset_config_section_decode = ptr_section; ptr_section = weechat_config_new_section (charset_config_file, "encode", + 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, |