From 6d1d0208feecb49353fb1b748151261a389b1ff6 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Mon, 29 Oct 2001 19:17:54 +0000 Subject: [PATCH] bug in last commit :) background color was broken git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1943 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-text/term-terminfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }