Don't indent if hideimage

This commit is contained in:
speedie 2023-07-03 19:12:53 +02:00
parent c7a402c00e
commit 5305303cd2

View file

@ -125,7 +125,7 @@ int drawitemtext(struct item *item, int x, int y, int w) {
} }
#if USEIMAGE #if USEIMAGE
if (!imagetype && lines) { if (!hideimage && !imagetype && lines) {
draw_rect(draw, x, y, w, sp.bh, 1, 1, fgcol, bgcol, fga, bga); 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); int nx = draw_icon(item, x, y + sp.lrpad / 4, sp.bh - sp.lrpad / 2, sp.bh - sp.lrpad / 2);