2015-07-22 13:44:51 +00:00
|
|
|
From 1ec3f0284d7dee52ee1afc6ac72ec39bdf3fba88 Mon Sep 17 00:00:00 2001
|
2013-06-21 18:46:49 +00:00
|
|
|
From: Peter Jones <pjones@redhat.com>
|
|
|
|
Date: Fri, 21 Jun 2013 14:44:08 -0400
|
2015-07-22 13:44:51 +00:00
|
|
|
Subject: [PATCH 457/506] Use -2 instead of -1 for our right-hand margin, so
|
2013-06-21 18:46:49 +00:00
|
|
|
linewrapping works (#976643).
|
|
|
|
|
|
|
|
Signed-off-by: Peter Jones <grub2-owner@fedoraproject.org>
|
|
|
|
---
|
|
|
|
grub-core/normal/menu_text.c | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/grub-core/normal/menu_text.c b/grub-core/normal/menu_text.c
|
2015-07-22 13:44:51 +00:00
|
|
|
index 0e43f2c..537d4bf 100644
|
2013-06-21 18:46:49 +00:00
|
|
|
--- a/grub-core/normal/menu_text.c
|
|
|
|
+++ b/grub-core/normal/menu_text.c
|
2014-01-06 16:39:16 +00:00
|
|
|
@@ -334,7 +334,7 @@ grub_menu_init_page (int nested, int edit,
|
2013-06-21 18:46:49 +00:00
|
|
|
|
|
|
|
geo->border = 0;
|
|
|
|
geo->first_entry_x = 0; /* no margin */
|
|
|
|
- geo->entry_width = grub_term_width (term) - 1;
|
|
|
|
+ geo->entry_width = grub_term_width (term) - 2;
|
|
|
|
|
|
|
|
geo->first_entry_y = 3; /* three empty lines*/
|
|
|
|
|
|
|
|
--
|
2015-07-22 13:44:51 +00:00
|
|
|
2.4.3
|
2013-06-21 18:46:49 +00:00
|
|
|
|