[SeaBIOS] [PATCH] boot: Increase description size in boot menu

Kevin O'Connor kevin at koconnor.net
Tue Apr 25 19:06:53 CEST 2017


Increase the boot menu description size so that menu items up to 80
characters display without truncation.

Reported-by: Rene Shuster <rene.shuster at bcsemail.org>
Signed-off-by: Kevin O'Connor <kevin at koconnor.net>
---
 src/boot.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/boot.c b/src/boot.c
index 706b7df..59623fb 100644
--- a/src/boot.c
+++ b/src/boot.c
@@ -482,7 +482,7 @@ interactive_bootmenu(void)
     int maxmenu = 0;
     struct bootentry_s *pos;
     hlist_for_each_entry(pos, &BootList, node) {
-        char desc[60];
+        char desc[77];
         maxmenu++;
         printf("%d. %s\n", maxmenu
                , strtcpy(desc, pos->description, ARRAY_SIZE(desc)));
-- 
2.5.5




More information about the SeaBIOS mailing list