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

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