Blame SOURCES/0038-Use-2-instead-of-1-for-our-right-hand-margin-so-line.patch

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