summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-11-29 17:44:42 +0100
committerSebastien Helleu <flashcode@flashtux.org>2008-11-29 17:44:42 +0100
commitbf0b5f5644abbf0a79674af7e75f6e24981babfc (patch)
treee3bd5fb98c83ba64f8f0f922084e6e941644529a /src/gui
parentbc00946a0da47dbc16cefbb915ae7f94b0ac3abf (diff)
downloadweechat-bf0b5f5644abbf0a79674af7e75f6e24981babfc.zip
Add "displayed" and "highlight" arguments to callback for hook_print
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/gui-chat.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gui/gui-chat.c b/src/gui/gui-chat.c
index a782a15a5..c452f47ca 100644
--- a/src/gui/gui-chat.c
+++ b/src/gui/gui-chat.c
@@ -1132,11 +1132,7 @@ gui_chat_printf_date_tags (struct t_gui_buffer *buffer, time_t date,
tags, pos_prefix, ptr_msg);
if (buffer->last_line)
{
- hook_print_exec (buffer, buffer->last_line->date,
- buffer->last_line->tags_count,
- (const char **)buffer->last_line->tags_array,
- buffer->last_line->prefix,
- buffer->last_line->message);
+ hook_print_exec (buffer, buffer->last_line);
}
at_least_one_message_printed = 1;
}