diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2005-01-27 22:28:30 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2005-01-27 22:28:30 +0000 |
commit | 74b83e52940e35a9a2f9ee6177775d067fef502c (patch) | |
tree | 123bf2461ea997e31c9b7b506ae201afc568827a /src/gui/curses/gui-display.c | |
parent | 4fa9edeb5694b7e65e63c919609e93673101c733 (diff) | |
download | weechat-74b83e52940e35a9a2f9ee6177775d067fef502c.zip |
Fixed small color bug in nicks
Diffstat (limited to 'src/gui/curses/gui-display.c')
-rw-r--r-- | src/gui/curses/gui-display.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/curses/gui-display.c b/src/gui/curses/gui-display.c index db77184be..377837025 100644 --- a/src/gui/curses/gui-display.c +++ b/src/gui/curses/gui-display.c @@ -1806,8 +1806,7 @@ gui_init_colors () { gui_assign_color (&color, nicks_colors[i]); init_pair (COLOR_WIN_NICK_FIRST + i, color & A_CHARTEXT, cfg_col_chat_bg); - color_attr[COLOR_WIN_NICK_FIRST + i - 1] = - (color & A_BOLD) ? A_BOLD : 0; + color_attr[COLOR_WIN_NICK_FIRST + i - 1] = (color >= 0) ? color & A_BOLD : 0; } init_pair (COLOR_DCC_SELECTED, |