From 8c47ca6926374ef7e5d47461e77cdb73fe09161a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Wed, 15 Aug 2018 12:17:42 +0200 Subject: [PATCH] core: add comments in function to print a line --- src/gui/gui-chat.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gui/gui-chat.c b/src/gui/gui-chat.c index 2cc2c84b2..888b5b141 100644 --- a/src/gui/gui-chat.c +++ b/src/gui/gui-chat.c @@ -812,7 +812,10 @@ gui_chat_printf_date_tags_internal (struct t_gui_buffer *buffer, } } + /* add line in the buffer */ gui_line_add (new_line); + + /* run hook_print for the new line */ if (new_line->data->buffer && buffer->print_hooks_enabled) hook_print_exec (new_line->data->buffer, new_line);