From 42c230e709a1af70d49229fe5211f4480e950c1b Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Fri, 1 Jan 2010 21:44:09 +0100 Subject: [PATCH] Fix tag checking in execution of hook_print --- src/core/wee-hook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/wee-hook.c b/src/core/wee-hook.c index 31813426b..5b2a399cc 100644 --- a/src/core/wee-hook.c +++ b/src/core/wee-hook.c @@ -1626,7 +1626,7 @@ hook_print_exec (struct t_gui_buffer *buffer, struct t_gui_line *line) for (j = 0; j < line->data->tags_count; j++) { if (string_strcasecmp (HOOK_PRINT(ptr_hook, tags_array)[i], - line->data->tags_array[j]) != 0) + line->data->tags_array[j]) == 0) { tag_found = 1; break;