mirror of
https://github.com/irssi/irssi.git
synced 2024-10-27 05:20:20 -04:00
bug in last commit :) background color was broken
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1943 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
3d50a058b9
commit
6d1d0208fe
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user