From de24250ab5038797e8f5ff8754d34a3219943134 Mon Sep 17 00:00:00 2001 From: kub Date: Fri, 26 Mar 2021 20:06:43 +0100 Subject: [PATCH] fix position of menu entries if length > 10 --- menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/menu.c b/menu.c index 65cb26a..6c6392a 100644 --- a/menu.c +++ b/menu.c @@ -630,7 +630,7 @@ static void me_draw(const menu_entry *entries, int sel, void (*draw_more)(void)) offs = x + col2_offs; len = strlen(names[i]); if (len > 10) - offs += (10 - len - 2) * me_mfont_w; + offs += (10 - len) * me_mfont_w; if (offs < leftname_end) offs = leftname_end; if (i == *(int *)ent->var) { -- 2.39.5