summaryrefslogtreecommitdiff
path: root/src/gui/curses
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2005-04-09 08:03:53 +0000
committerSebastien Helleu <flashcode@flashtux.org>2005-04-09 08:03:53 +0000
commita92ca4961b00f2fca61facec743986e89446841f (patch)
treed53d6e59f33774c11d924bb1659353e4ce5392a5 /src/gui/curses
parentae8a4633efcbba8bc34072dd1b539a1b550a5341 (diff)
downloadweechat-a92ca4961b00f2fca61facec743986e89446841f.zip
Hotlist not changed when self away or nick change
Diffstat (limited to 'src/gui/curses')
-rw-r--r--src/gui/curses/gui-display.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/curses/gui-display.c b/src/gui/curses/gui-display.c
index 5d0c0d662..4e41b8f48 100644
--- a/src/gui/curses/gui-display.c
+++ b/src/gui/curses/gui-display.c
@@ -65,6 +65,7 @@ char *nicks_colors[COLOR_WIN_NICK_NUMBER] =
int color_attr[NUM_COLORS];
+
/*
* gui_assign_color: assign a color (read from config)
*/
@@ -2398,7 +2399,7 @@ gui_add_message (t_gui_buffer *buffer, int type, int color, char *message)
pos[0] = '\n';
if (buffer->num_displayed > 0)
gui_draw_buffer_chat (buffer, 0);
- if (buffer->num_displayed == 0)
+ if (gui_add_hotlist && (buffer->num_displayed == 0))
{
if (3 - buffer->last_line->line_with_message -
buffer->last_line->line_with_highlight <=