mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[screen] Longer initializer
This commit is contained in:
parent
65e74dc39d
commit
7ea1e0b80a
@ -977,7 +977,7 @@ add_char16(struct string *screen, struct screen_driver *driver,
|
||||
* - COLOR_MODE_16. Use 16 colors.
|
||||
* - An unsupported color mode. Use 16 colors. */
|
||||
if (driver->opt.color_mode != COLOR_MODE_MONO) {
|
||||
char code[6] = ";30;40";
|
||||
char code[] = ";30;40";
|
||||
unsigned char bgcolor = TERM_COLOR_BACKGROUND_16(ch->c.color);
|
||||
|
||||
code[2] += TERM_COLOR_FOREGROUND_16(ch->c.color);
|
||||
|
Loading…
Reference in New Issue
Block a user