1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

core: fix bug in build of static parts of completions for commands

This commit is contained in:
Sebastien Helleu
2011-07-30 08:50:30 +02:00
parent 47b9c2b9e2
commit bb39455591
+3
View File
@@ -478,7 +478,10 @@ hook_command_build_completion (struct t_hook_command *hook_command)
while (ptr_template && ptr_template[0])
{
if (ptr_template[0] == ' ')
{
last_space = ptr_template;
break;
}
else if ((ptr_template[0] == '%') || (ptr_template[0] == '|'))
break;
ptr_template = utf8_next_char (ptr_template);