summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2009-06-10 12:51:36 +0200
committerSebastien Helleu <flashcode@flashtux.org>2009-06-10 12:51:36 +0200
commit335419e6de313deb15a6dcf1578a9e2aeab78fa5 (patch)
tree5f33a0181602c868475568f91a837bd4629db177 /src
parent8d58b81d83d9a5462f1b4aeb274a16a91ef213d1 (diff)
downloadweechat-335419e6de313deb15a6dcf1578a9e2aeab78fa5.zip
Rename option weechat.completion.nick_completor to nick_completer
Diffstat (limited to 'src')
-rw-r--r--src/core/wee-config.c6
-rw-r--r--src/core/wee-config.h2
-rw-r--r--src/gui/gui-completion.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/core/wee-config.c b/src/core/wee-config.c
index a9f73149f..d1c4d3e12 100644
--- a/src/core/wee-config.c
+++ b/src/core/wee-config.c
@@ -153,7 +153,7 @@ struct t_config_option *config_color_nicklist_separator;
struct t_config_option *config_completion_default_template;
struct t_config_option *config_completion_nick_add_space;
-struct t_config_option *config_completion_nick_completor;
+struct t_config_option *config_completion_nick_completer;
struct t_config_option *config_completion_nick_first_only;
struct t_config_option *config_completion_nick_ignore_chars;
struct t_config_option *config_completion_partial_completion_alert;
@@ -1809,9 +1809,9 @@ config_weechat_init_options ()
N_("add space after nick completion (when nick is not first word on "
"command line)"),
NULL, 0, 0, "on", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
- config_completion_nick_completor = config_file_new_option (
+ config_completion_nick_completer = config_file_new_option (
weechat_config_file, ptr_section,
- "nick_completor", "string",
+ "nick_completer", "string",
N_("string inserted after nick completion"),
NULL, 0, 0, ":", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
config_completion_nick_first_only = config_file_new_option (
diff --git a/src/core/wee-config.h b/src/core/wee-config.h
index 720dfeb7a..12b359204 100644
--- a/src/core/wee-config.h
+++ b/src/core/wee-config.h
@@ -164,7 +164,7 @@ extern struct t_config_option *config_color_nicklist_separator;
extern struct t_config_option *config_completion_default_template;
extern struct t_config_option *config_completion_nick_add_space;
-extern struct t_config_option *config_completion_nick_completor;
+extern struct t_config_option *config_completion_nick_completer;
extern struct t_config_option *config_completion_nick_first_only;
extern struct t_config_option *config_completion_nick_ignore_chars;
extern struct t_config_option *config_completion_partial_completion_alert;
diff --git a/src/gui/gui-completion.c b/src/gui/gui-completion.c
index b9ccf1f71..d25ba9834 100644
--- a/src/gui/gui-completion.c
+++ b/src/gui/gui-completion.c
@@ -337,7 +337,7 @@ gui_completion_list_add (struct t_gui_completion *completion, const char *word,
if (nick_completion && (completion->base_word_pos == 0))
{
snprintf (buffer, sizeof (buffer), "%s%s",
- word, CONFIG_STRING(config_completion_nick_completor));
+ word, CONFIG_STRING(config_completion_nick_completer));
weelist_add (completion->completion_list, buffer, where,
(nick_completion) ? (void *)1 : (void *)0);
}