From 72286fe8bb103c0c9ed73eda55538b66af297fca Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Fri, 20 Jun 2008 16:32:15 +0200 Subject: [PATCH] Fix bug with current buffer and hotlist: now it's added to hotlist if user is scrolling up buffer --- src/gui/gui-chat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/gui-chat.c b/src/gui/gui-chat.c index ecf81991a..b68e10079 100644 --- a/src/gui/gui-chat.c +++ b/src/gui/gui-chat.c @@ -746,12 +746,12 @@ gui_chat_line_add (struct t_gui_buffer *buffer, time_t date, if (new_line->prefix_length > buffer->prefix_max_length) buffer->prefix_max_length = new_line->prefix_length; if (new_line->highlight) - gui_hotlist_add (buffer, GUI_HOTLIST_HIGHLIGHT, NULL, 0); + gui_hotlist_add (buffer, GUI_HOTLIST_HIGHLIGHT, NULL, 1); else { gui_hotlist_add (buffer, gui_chat_line_get_notify_level (new_line), - NULL, 0); + NULL, 1); } } else