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

Reported-by: Rene Shuster <[email protected]>
Signed-off-by: Kevin O'Connor <[email protected]>
---
 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


_______________________________________________
SeaBIOS mailing list
[email protected]
https://mail.coreboot.org/mailman/listinfo/seabios

Reply via email to