fixed bug when changing bg color

This commit is contained in:
tater 2018-06-23 19:08:39 -05:00
parent c577dc4e0b
commit 317657131d

3
a2m.c
View File

@ -482,8 +482,7 @@ print_color(canvas_t *c, cell_t *cell, int col)
printf("\x03"); printf("\x03");
if (cell->fg != oldfg || cell->bold != oldbold) printf("%d", get_fgcolor(cell));
printf("%d", get_fgcolor(cell));
if (cell->bg != oldbg || (cell->ice != oldice)) if (cell->bg != oldbg || (cell->ice != oldice))
printf(",%d", get_bgcolor(cell)); printf(",%d", get_bgcolor(cell));