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

Kevin O'Connor posted 1 patch 6 years, 12 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/seabios tags/patchew/1493140013-21318-1-git-send-email-kevin@koconnor.net
src/boot.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[SeaBIOS] [PATCH] boot: Increase description size in boot menu
Posted by Kevin O'Connor 6 years, 12 months ago
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>
---
 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
SeaBIOS@seabios.org
https://mail.coreboot.org/mailman/listinfo/seabios
Re: [SeaBIOS] [PATCH] boot: Increase description size in boot menu
Posted by Kevin O'Connor 6 years, 11 months ago
On Tue, Apr 25, 2017 at 01:06:53PM -0400, Kevin O'Connor wrote:
> 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>

FYI, I committed this patch.

-Kevin

_______________________________________________
SeaBIOS mailing list
SeaBIOS@seabios.org
https://mail.coreboot.org/mailman/listinfo/seabios
Re: [SeaBIOS] [PATCH] boot: Increase description size in boot menu
Posted by Rene Shuster 6 years, 11 months ago
Thanks.

On Tue, May 2, 2017 at 8:04 PM, Kevin O'Connor <kevin@koconnor.net> wrote:

> On Tue, Apr 25, 2017 at 01:06:53PM -0400, Kevin O'Connor wrote:
> > 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>
>
> FYI, I committed this patch.
>
> -Kevin
>



-- 
Tech III * AppControl * Endpoint Protection * Server Maintenance
Buncombe County Schools Technology Department Network Group
ComicSans Awareness Campaign <http://comicsanscriminal.com>
_______________________________________________
SeaBIOS mailing list
SeaBIOS@seabios.org
https://mail.coreboot.org/mailman/listinfo/seabios
Re: [SeaBIOS] [PATCH] boot: Increase description size in boot menu
Posted by Paul Menzel 6 years, 8 months ago
Dear Kevin,


Am Dienstag, den 02.05.2017, 20:04 -0400 schrieb Kevin O'Connor:
> On Tue, Apr 25, 2017 at 01:06:53PM -0400, Kevin O'Connor wrote:
> > 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>
> 
> FYI, I committed this patch.

Could this patch please also be added to to the stable branches, so
that it’s present in the next stable releases?


Thanks,

Paul_______________________________________________
SeaBIOS mailing list
SeaBIOS@seabios.org
https://mail.coreboot.org/mailman/listinfo/seabios
Re: [SeaBIOS] [PATCH] boot: Increase description size in boot menu
Posted by Gerd Hoffmann 6 years, 8 months ago
On Tue, 2017-08-22 at 07:39 +0200, Paul Menzel wrote:
> Dear Kevin,
> 
> 
> Am Dienstag, den 02.05.2017, 20:04 -0400 schrieb Kevin O'Connor:
> > On Tue, Apr 25, 2017 at 01:06:53PM -0400, Kevin O'Connor wrote:
> > > 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>
> > 
> > FYI, I committed this patch.
> 
> Could this patch please also be added to to the stable branches, so
> that it’s present in the next stable releases?

Added to 1.10-stable

cheers,
  Gerd


_______________________________________________
SeaBIOS mailing list
SeaBIOS@seabios.org
https://mail.coreboot.org/mailman/listinfo/seabios