From 317657131dad809487c7c4e777cce92fd51eed7c Mon Sep 17 00:00:00 2001 From: tater Date: Sat, 23 Jun 2018 19:08:39 -0500 Subject: [PATCH] fixed bug when changing bg color --- a2m.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/a2m.c b/a2m.c index a36857a..be089e9 100644 --- a/a2m.c +++ b/a2m.c @@ -482,8 +482,7 @@ print_color(canvas_t *c, cell_t *cell, int col) 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)) printf(",%d", get_bgcolor(cell));