Allow icons to be drawn when !lines

This commit is contained in:
Jacob 2023-07-29 01:57:04 +02:00
parent 2b1e5a1be1
commit 8549c8415e

View file

@ -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);