diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2005-04-09 08:03:53 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2005-04-09 08:03:53 +0000 |
commit | a92ca4961b00f2fca61facec743986e89446841f (patch) | |
tree | d53d6e59f33774c11d924bb1659353e4ce5392a5 /src/gui/curses | |
parent | ae8a4633efcbba8bc34072dd1b539a1b550a5341 (diff) | |
download | weechat-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.c | 3 |
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 <= |