diff options
-rw-r--r-- | src/gui/gui-hotlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |