1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-27 05:16:38 +02:00

Fix completion bug for commands when input starts with two command chars (like //)

This commit is contained in:
Sebastien Helleu
2010-03-03 18:42:12 +01:00
parent a852d3af4b
commit 92bc700349
+1 -1
View File
@@ -1551,7 +1551,7 @@ gui_completion_find_context (struct t_gui_completion *completion,
/* look for context */
gui_completion_free_data (completion);
gui_completion_buffer_init (completion, completion->buffer);
command = (string_input_for_buffer (data)) ? 0 : 1;
command = (string_is_command_char (data)) ? 1 : 0;
command_arg = 0;
i = 0;
while (i < pos)