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

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