mirror of
https://github.com/weechat/weechat.git
synced 2026-07-04 16:53:14 +02:00
Fix bug with repeat of last completion ("%*"), which failed when many templates are used in completion
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
WeeChat ChangeLog
|
||||
=================
|
||||
Sébastien Helleu <flashcode@flashtux.org>
|
||||
v0.3.5-dev, 2011-03-09
|
||||
v0.3.5-dev, 2011-03-10
|
||||
|
||||
|
||||
Version 0.3.5 (under dev!)
|
||||
--------------------------
|
||||
|
||||
* core: fix bug with repeat of last completion ("%*"), which failed when many
|
||||
templates are used in completion
|
||||
* core: allow list of buffers in command /filter (exclusion with prefix "!")
|
||||
(task #10880)
|
||||
* core: reload file with certificate authorities when option
|
||||
|
||||
@@ -588,11 +588,10 @@ gui_completion_build_list (struct t_gui_completion *completion)
|
||||
}
|
||||
if (repeat_last)
|
||||
{
|
||||
pos_space = rindex (HOOK_COMMAND(ptr_hook, completion), ' ');
|
||||
pos_space = rindex (template, ' ');
|
||||
gui_completion_build_list_template (completion,
|
||||
(pos_space) ?
|
||||
pos_space + 1 : HOOK_COMMAND(ptr_hook,
|
||||
completion),
|
||||
pos_space + 1 : template,
|
||||
ptr_hook->plugin);
|
||||
}
|
||||
free (template);
|
||||
|
||||
Reference in New Issue
Block a user