011fe81
From 6550cd89b1dee8c9ad866cbf10bf72dc2ff8a8bc Mon Sep 17 00:00:00 2001
481bf3b
From: Peter Jones <pjones@redhat.com>
481bf3b
Date: Fri, 21 Jun 2013 14:44:08 -0400
4dcaf21
Subject: [PATCH 114/143] Use -2 instead of -1 for our right-hand margin, so
481bf3b
 linewrapping works (#976643).
481bf3b
481bf3b
Signed-off-by: Peter Jones <grub2-owner@fedoraproject.org>
481bf3b
---
481bf3b
 grub-core/normal/menu_text.c | 2 +-
481bf3b
 1 file changed, 1 insertion(+), 1 deletion(-)
481bf3b
481bf3b
diff --git a/grub-core/normal/menu_text.c b/grub-core/normal/menu_text.c
481bf3b
index ead3391..bc1fc71 100644
481bf3b
--- a/grub-core/normal/menu_text.c
481bf3b
+++ b/grub-core/normal/menu_text.c
481bf3b
@@ -334,7 +334,7 @@ grub_menu_init_page (int nested, int edit,
481bf3b
 
481bf3b
   geo->border = 0;
481bf3b
   geo->first_entry_x = 0; /* no margin */
481bf3b
-  geo->entry_width = grub_term_width (term) - 1;
481bf3b
+  geo->entry_width = grub_term_width (term) - 2;
481bf3b
 
481bf3b
   geo->first_entry_y = 3; /* three empty lines*/
481bf3b
 
481bf3b
-- 
37b39b7
1.9.3
481bf3b