diff options
author | Timo Sirainen <cras@irssi.org> | 2001-10-29 19:17:54 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-10-29 19:17:54 +0000 |
commit | 6d1d0208feecb49353fb1b748151261a389b1ff6 (patch) | |
tree | 31d38379b5073e7b05cd3a0679a81c4872a63e79 | |
parent | 3d50a058b9acb3749dc372e84f307a2e1ccd9553 (diff) | |
download | irssi-6d1d0208feecb49353fb1b748151261a389b1ff6.zip |
bug in last commit :) background color was broken
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1943 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r-- | src/fe-text/term-terminfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-text/term-terminfo.c b/src/fe-text/term-terminfo.c index 9f8b3b6f..85ac193b 100644 --- a/src/fe-text/term-terminfo.c +++ b/src/fe-text/term-terminfo.c @@ -239,8 +239,8 @@ void term_set_color(TERM_WINDOW *window, int col) if ((col & 0xf0) >> 4 != last_bg && ((col & 0xf0) != 0 || (col & ATTR_RESETBG) == 0)) { if (term_use_colors) { - terminfo_set_bg(last_bg); last_bg = (col & 0xf0) >> 4; + terminfo_set_bg(last_bg); } } |