From 776de147ea07d41bf3e4daddd90857809a7bf2c2 Mon Sep 17 00:00:00 2001 From: speedie Date: Mon, 1 May 2023 04:30:38 +0200 Subject: [PATCH] a minor change to the way indentation is done --- libs/draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/draw.c b/libs/draw.c index f8d9fd7..e549bb0 100644 --- a/libs/draw.c +++ b/libs/draw.c @@ -223,7 +223,7 @@ drawitem(int x, int y, int w) #if USEIMAGE if (!hideimage && longestedge != 0) { rx = ox; - rx += (imagegaps * 2) + imagewidth + menumarginh; + rx += MAX((imagegaps * 2) + imagewidth + menumarginh, indentitems ? x : 0); } else #endif if (!indentitems) {