summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2007-03-21 20:29:13 +0000
committerSebastien Helleu <flashcode@flashtux.org>2007-03-21 20:29:13 +0000
commit6323e55ab4f398cc7e94aa363929d4d10acccaf2 (patch)
tree6b7528e415e93de205741a205ae56a3e9f94ed27 /src/common
parent0b6a91837c70d8abf921cdb951e15722f893a4cf (diff)
downloadweechat-6323e55ab4f398cc7e94aa363929d4d10acccaf2.zip
Added current buffer in hotlist when scrolling up in buffer (task #6664)
Diffstat (limited to 'src/common')
-rw-r--r--src/common/hotlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/hotlist.c b/src/common/hotlist.c
index ebf42a435..370216c64 100644
--- a/src/common/hotlist.c
+++ b/src/common/hotlist.c
@@ -86,7 +86,7 @@ hotlist_add (int priority, t_irc_server *server, t_gui_buffer *buffer,
/* do not highlight current buffer */
if ((buffer == gui_current_window->buffer)
- && (!allow_current_buffer))
+ && (!allow_current_buffer) && (!gui_buffer_is_scrolled (buffer)))
return;
if ((pos_hotlist = hotlist_search (buffer)))