diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2017-04-25 13:04:41 -0400 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-08-24 13:00:47 +0200 |
commit | 6055583af71d0941848337d33eb0b720a5f90a8b (patch) | |
tree | f0d07c5ac60bcfa8277a79a491347c5a5954d2a1 | |
parent | 3551613d44c537c7a32b8d940938a0e90349baab (diff) | |
download | seabios-6055583af71d0941848337d33eb0b720a5f90a8b.zip seabios-6055583af71d0941848337d33eb0b720a5f90a8b.tar.gz seabios-6055583af71d0941848337d33eb0b720a5f90a8b.tar.bz2 |
boot: Increase description size in boot menu
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)
-rw-r--r-- | src/boot.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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))); |