From 8549c8415eda01b4a68b639364756d25402ad52f Mon Sep 17 00:00:00 2001 From: speedie Date: Sat, 29 Jul 2023 01:57:04 +0200 Subject: [PATCH] Allow icons to be drawn when !lines --- libs/draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/draw.c b/libs/draw.c index 6da0683..0f106f7 100644 --- a/libs/draw.c +++ b/libs/draw.c @@ -174,7 +174,7 @@ int drawitemtext(struct item *item, int x, int y, int w) { } #if USEIMAGE - if (!hideimage && !imagetype && lines) { + if (!hideimage && !imagetype) { draw_rect(draw, x, y, w, sp.bh, 1, 1, fgcol, bgcol, fga, bga); int nx = draw_icon(item, x, y + sp.lrpad / 4, sp.bh - sp.lrpad / 2, sp.bh - sp.lrpad / 2);