From 87226018d447cc59912df5178a2deade15dda28f Mon Sep 17 00:00:00 2001 From: Adubbz Date: Thu, 22 Feb 2018 11:38:02 +1100 Subject: [PATCH] Fixed long name truncation --- common/menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/menu.c b/common/menu.c index d9eda3a..48db088 100644 --- a/common/menu.c +++ b/common/menu.c @@ -126,7 +126,7 @@ static void drawEntry(menuEntry_s* me, int n, int is_active) { drawImage(220, 100, 256, 256, largeimg); } - DrawTextTruncate(tahoma12, start_x + 8, start_y + 8, MakeColor(64, 64, 64, 255), me->name, 256 - 32, "..."); + DrawTextTruncate(tahoma12, start_x + 8, start_y + 8, MakeColor(64, 64, 64, 255), me->name, 140 - 32, "..."); if (is_active) { start_x = 220;