summaryrefslogtreecommitdiff
path: root/src/common/completion.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/completion.c')
-rw-r--r--src/common/completion.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/common/completion.c b/src/common/completion.c
index a6ddb732a..836d96bf3 100644
--- a/src/common/completion.c
+++ b/src/common/completion.c
@@ -54,13 +54,19 @@ completion_init (t_completion *completion, void *server, void *channel)
completion->base_command = NULL;
completion->base_command_arg = 0;
completion->arg_is_nick = 0;
- completion->position = -1;
completion->base_word = NULL;
+ completion->base_word_pos = 0;
+ completion->position = -1;
completion->args = NULL;
completion->direction = 0;
completion->completion_list = NULL;
completion->last_completion = NULL;
+
+ completion->word_found = NULL;
+ completion->position_replace = 0;
+ completion->diff_size = 0;
+ completion->diff_length = 0;
}
/*