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