From a556538e4d7362c00941c2bbada37635e56f9282 Mon Sep 17 00:00:00 2001 From: speedie Date: Tue, 28 Feb 2023 22:40:44 +0100 Subject: [PATCH] bugfix for lines being wrong --- spmenu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spmenu.c b/spmenu.c index 4d58163..f0fe4bf 100644 --- a/spmenu.c +++ b/spmenu.c @@ -1448,7 +1448,7 @@ readstdin(void) lines = MIN(lines, i); #if USEIMAGE if(lines * drw->font->h < imagewidth) - lines = imagewidth/drw->font->h+2; + longestedge = imagegaps = 0; #endif }