summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2005-02-20 15:01:41 +0000
committerSebastien Helleu <flashcode@flashtux.org>2005-02-20 15:01:41 +0000
commit6199f9b629e406f90a17a998e80f37854ca27e60 (patch)
treea532b1a722cefcc6d90ac1040bd779cccd74e7c6 /src
parent6e60c95056905ee91823fd8ae085e5cf2ceecec2 (diff)
downloadweechat-6199f9b629e406f90a17a998e80f37854ca27e60.zip
/set command does not add "=" any more after completed option name
Diffstat (limited to 'src')
-rw-r--r--src/common/completion.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/common/completion.c b/src/common/completion.c
index bedf6b8b3..ce9d0e5ce 100644
--- a/src/common/completion.c
+++ b/src/common/completion.c
@@ -206,11 +206,9 @@ completion_build_list (t_completion *completion, void *channel)
{
for (j = 0; weechat_options[i][j].option_name; j++)
{
- snprintf (option_name, sizeof (option_name), "%s =",
- weechat_options[i][j].option_name);
weelist_add (&completion->completion_list,
&completion->last_completion,
- option_name);
+ weechat_options[i][j].option_name);
}
}
}
@@ -219,7 +217,7 @@ completion_build_list (t_completion *completion, void *channel)
{
for (i = 0; weechat_options[CONFIG_SECTION_SERVER][i].option_name; i++)
{
- snprintf (option_name, sizeof (option_name), "%s.%s =",
+ snprintf (option_name, sizeof (option_name), "%s.%s",
ptr_server->name,
weechat_options[CONFIG_SECTION_SERVER][i].option_name);
weelist_add (&completion->completion_list,