38f72d2
From 8c62c84f2b85bebf0a3f5fe588aa19e9d113996a Mon Sep 17 00:00:00 2001
38f72d2
From: Peter Jones <pjones@redhat.com>
38f72d2
Date: Fri, 21 Jun 2013 14:44:08 -0400
38f72d2
Subject: [PATCH] Use -2 instead of -1 for our right-hand margin, so
38f72d2
 linewrapping works (#976643).
38f72d2
38f72d2
Signed-off-by: Peter Jones <grub2-owner@fedoraproject.org>
38f72d2
---
38f72d2
 grub-core/normal/menu_text.c | 2 +-
38f72d2
 1 file changed, 1 insertion(+), 1 deletion(-)
38f72d2
38f72d2
diff --git a/grub-core/normal/menu_text.c b/grub-core/normal/menu_text.c
38f72d2
index 851ed13..95b90ea 100644
38f72d2
--- a/grub-core/normal/menu_text.c
38f72d2
+++ b/grub-core/normal/menu_text.c
38f72d2
@@ -286,7 +286,7 @@ grub_menu_init_page (int nested, int edit,
38f72d2
 
38f72d2
   geo->border = 0;
38f72d2
   geo->first_entry_x = 0; /* no margin */
38f72d2
-  geo->entry_width = grub_term_width (term) - 1;
38f72d2
+  geo->entry_width = grub_term_width (term) - 2;
38f72d2
 
38f72d2
   geo->first_entry_y = 3; /* three empty lines*/
38f72d2
 
38f72d2
-- 
38f72d2
1.8.2.1
38f72d2