diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-10-18 19:31:40 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-10-18 19:31:40 +0200 |
commit | 3b81a4746a4e0b648df1e05c79e077cc93b69459 (patch) | |
tree | 0914480d42a49b709763facafd2706706f3cbc32 /src/plugins/aspell/weechat-aspell-config.c | |
parent | 8511f9a77e45307389f54afa8ddfc1e112f0f59c (diff) | |
download | weechat-3b81a4746a4e0b648df1e05c79e077cc93b69459.zip |
Add new argument "value" to function config_new_option
Diffstat (limited to 'src/plugins/aspell/weechat-aspell-config.c')
-rw-r--r-- | src/plugins/aspell/weechat-aspell-config.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/aspell/weechat-aspell-config.c b/src/plugins/aspell/weechat-aspell-config.c index 11ad09d92..a286c7268 100644 --- a/src/plugins/aspell/weechat-aspell-config.c +++ b/src/plugins/aspell/weechat-aspell-config.c @@ -154,7 +154,7 @@ weechat_aspell_config_create_option (void *data, config_file, section, option_name, "string", _("comma separated list of dictionaries to use on this buffer"), - NULL, 0, 0, value, NULL, NULL, NULL, NULL, NULL, NULL); + NULL, 0, 0, "", value, NULL, NULL, NULL, NULL, NULL, NULL); rc = (ptr_option) ? WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE : WEECHAT_CONFIG_OPTION_SET_ERROR; } @@ -232,7 +232,7 @@ weechat_aspell_config_init () weechat_aspell_config_file, ptr_section, "color", "color", N_("color used for mispelled words"), - NULL, 0, 0, "lightred", NULL, NULL, NULL, NULL, NULL, NULL); + NULL, 0, 0, "lightred", NULL, NULL, NULL, NULL, NULL, NULL, NULL); /* check */ ptr_section = weechat_config_new_section (weechat_aspell_config_file, "check", @@ -252,7 +252,7 @@ weechat_aspell_config_init () "enabled (spell checking is disabled for all other commands)"), NULL, 0, 0, "ame,amsg,away,command,cycle,kick,kickban,me,msg,notice,part,query," - "quit,topic", + "quit,topic", NULL, NULL, NULL, &weechat_aspell_config_change_commands, NULL, NULL, NULL); weechat_aspell_config_check_default_dict = weechat_config_new_option ( weechat_aspell_config_file, ptr_section, @@ -260,14 +260,14 @@ weechat_aspell_config_init () N_("default dictionary (or comma separated list of dictionaries) to " "use when buffer has no dictionary defined (leave blank to disable " "aspell on buffers for which you didn't explicitely enabled it)"), - NULL, 0, 0, "", + NULL, 0, 0, "", NULL, NULL, NULL, &weechat_aspell_config_change_default_dict, NULL, NULL, NULL); weechat_aspell_config_check_word_min_length = weechat_config_new_option ( weechat_aspell_config_file, ptr_section, "word_min_length", "integer", N_("minimum length for a word to be spell checked (use 0 to check all " "words)"), - NULL, 0, INT_MAX, "2", NULL, NULL, NULL, NULL, NULL, NULL); + NULL, 0, INT_MAX, "2", NULL, NULL, NULL, NULL, NULL, NULL, NULL); ptr_section = weechat_config_new_section (weechat_aspell_config_file, "dict", 1, 1, |