From 24ea547090117d887e29f569dbb06cfcf57a5c64 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Tue, 11 Mar 2008 12:27:07 +0100 Subject: [PATCH] Fix hotlist update when buffer is current one --- src/gui/gui-hotlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/gui-hotlist.c b/src/gui/gui-hotlist.c index 122652e35..f45be1a93 100644 --- a/src/gui/gui-hotlist.c +++ b/src/gui/gui-hotlist.c @@ -200,7 +200,7 @@ gui_hotlist_add (struct t_gui_buffer *buffer, int priority, /* do not highlight current buffer */ if ((buffer == gui_current_window->buffer) - && (!allow_current_buffer) && (!gui_buffer_is_scrolled (buffer))) + && (!allow_current_buffer || (!gui_buffer_is_scrolled (buffer)))) return; if (priority < GUI_HOTLIST_MIN)