dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone

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

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