]> xenbits.xensource.com Git - seabios.git/commitdiff
boot: Increase description size in boot menu
authorKevin O'Connor <kevin@koconnor.net>
Tue, 25 Apr 2017 17:04:41 +0000 (13:04 -0400)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 24 Aug 2017 11:00:47 +0000 (13:00 +0200)
Increase the boot menu description size so that menu items up to 80
characters display without truncation.

Reported-by: Rene Shuster <rene.shuster@bcsemail.org>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
(cherry picked from commit 6f090f868dcdc089a669b3664f9564ef8f65d0ea)

src/boot.c

index 706b7dfe013b45b02f2f2670633fa4a02cef5b03..59623fb63dfa48cc878eb36a38bf2dc8b790b17e 100644 (file)
@@ -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)));