diff options
Diffstat (limited to 'src/core/hook/wee-hook-line.c')
-rw-r--r-- | src/core/hook/wee-hook-line.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hook/wee-hook-line.c b/src/core/hook/wee-hook-line.c index 01833e3b1..a1609a762 100644 --- a/src/core/hook/wee-hook-line.c +++ b/src/core/hook/wee-hook-line.c @@ -113,9 +113,9 @@ hook_line_exec (struct t_gui_line *line) if (!ptr_hook->deleted && !ptr_hook->running && ((HOOK_LINE(ptr_hook, buffer_type) == -1) || ((int)(line->data->buffer->type) == (HOOK_LINE(ptr_hook, buffer_type)))) - && gui_buffer_match_list_split (line->data->buffer, - HOOK_LINE(ptr_hook, num_buffers), - HOOK_LINE(ptr_hook, buffers)) + && string_match_list (line->data->buffer->full_name, + (const char **)HOOK_LINE(ptr_hook, buffers), + 0) && (!HOOK_LINE(ptr_hook, tags_array) || gui_line_match_tags (line->data, HOOK_LINE(ptr_hook, tags_count), |