diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2014-05-22 20:46:14 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2014-05-22 20:46:14 +0200 |
commit | 838a71cceb97a71fc918ad250aec1a788aa55516 (patch) | |
tree | b2542e9c9aded0d22ee9502ce55ad45de4558c4f /src/gui/curses | |
parent | 4ba20c90da0b05ad33da1c4ae104a1a482e32ac0 (diff) | |
download | weechat-838a71cceb97a71fc918ad250aec1a788aa55516.zip |
core: fix reset of attributes between nick colors in /color buffer
Diffstat (limited to 'src/gui/curses')
-rw-r--r-- | src/gui/curses/gui-curses-color.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/curses/gui-curses-color.c b/src/gui/curses/gui-curses-color.c index af004a5d1..1af361e01 100644 --- a/src/gui/curses/gui-curses-color.c +++ b/src/gui/curses/gui-curses-color.c @@ -907,7 +907,8 @@ gui_color_buffer_display () else { snprintf (str_color, sizeof (str_color), - "%c%c%02d %s", + "%c %c%c%02d%s", + GUI_COLOR_RESET_CHAR, GUI_COLOR_COLOR_CHAR, GUI_COLOR_FG_CHAR, i, @@ -947,7 +948,8 @@ gui_color_buffer_display () else { snprintf (str_color, sizeof (str_color), - "%s %s", + "%c %s%s", + GUI_COLOR_RESET_CHAR, gui_color_get_custom (items[i]), items[i]); } |