a minor change to the way indentation is done

This commit is contained in:
speedie 2023-05-01 04:30:38 +02:00
parent ca82d24b33
commit 776de147ea

View file

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