diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-03-11 12:27:07 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-03-11 12:27:07 +0100 |
commit | 24ea547090117d887e29f569dbb06cfcf57a5c64 (patch) | |
tree | a9273463d4b3925fb7efb1c0028692d402f401c6 /src | |
parent | 3a5625f2f420b02825f631008d5e20137cbf57bf (diff) | |
download | weechat-24ea547090117d887e29f569dbb06cfcf57a5c64.zip |
Fix hotlist update when buffer is current one
Diffstat (limited to 'src')
-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) |