mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
parent
aac20b1513
commit
d61c54c32b
@ -114,7 +114,6 @@ static void update_cmd_color(unsigned char cmd, int *color)
|
||||
if (cmd & LINE_COLOR_BG) {
|
||||
/* set background color */
|
||||
*color &= FGATTR;
|
||||
*color &= ~ATTR_FGCOLOR24;
|
||||
if ((cmd & LINE_COLOR_DEFAULT) == 0)
|
||||
*color |= (cmd & 0x0f) << BG_SHIFT;
|
||||
else {
|
||||
@ -123,7 +122,6 @@ static void update_cmd_color(unsigned char cmd, int *color)
|
||||
} else {
|
||||
/* set foreground color */
|
||||
*color &= BGATTR;
|
||||
*color &= ~ATTR_BGCOLOR24;
|
||||
if ((cmd & LINE_COLOR_DEFAULT) == 0)
|
||||
*color |= cmd & 0x0f;
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user