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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user