summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2009-06-24 15:35:24 +0200
committerSebastien Helleu <flashcode@flashtux.org>2009-06-24 15:35:24 +0200
commit42cd890bfb373c12cf97319401a632528fdf5b70 (patch)
tree4df8b217765c4811e670475cdafee3df22d34b53
parent4d60c48f5faebf61e38c0d64709af5ed32af31cb (diff)
downloadweechat-42cd890bfb373c12cf97319401a632528fdf5b70.zip
Consider private message as highlight when comparing message level to buffer notify value
-rw-r--r--src/gui/gui-hotlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/gui-hotlist.c b/src/gui/gui-hotlist.c
index 4e84c3420..405a7c676 100644
--- a/src/gui/gui-hotlist.c
+++ b/src/gui/gui-hotlist.c
@@ -135,8 +135,8 @@ gui_hotlist_check_buffer_notify (struct t_gui_buffer *buffer, int priority)
case GUI_HOTLIST_LOW:
return (buffer->notify >= 3);
case GUI_HOTLIST_MESSAGE:
- case GUI_HOTLIST_PRIVATE:
return (buffer->notify >= 2);
+ case GUI_HOTLIST_PRIVATE:
case GUI_HOTLIST_HIGHLIGHT:
return (buffer->notify >= 1);
}