summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2006-06-26 18:42:16 +0000
committerSebastien Helleu <flashcode@flashtux.org>2006-06-26 18:42:16 +0000
commit055a2c6a64b6a96422b7c8e457789771d433576f (patch)
tree30371e8d2f859ddd639171dde2b27adb253acde8 /src/common
parentc5f1a1af6c8c33b874f9e44601e052a0a54e4628 (diff)
downloadweechat-055a2c6a64b6a96422b7c8e457789771d433576f.zip
Fixed crash with crash dump (nice isn't it?)
Diffstat (limited to 'src/common')
-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;
}
/*