Blame SOURCES/0037-Fix-margins.patch

d9d99f
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
d9d99f
From: William Jon McCann <william.jon.mccann@gmail.com>
d9d99f
Date: Fri, 7 Jun 2013 14:59:36 -0400
d9d99f
Subject: [PATCH] Fix margins
d9d99f
d9d99f
---
d9d99f
 grub-core/normal/menu_text.c | 8 +++-----
d9d99f
 1 file changed, 3 insertions(+), 5 deletions(-)
d9d99f
d9d99f
diff --git a/grub-core/normal/menu_text.c b/grub-core/normal/menu_text.c
b71686
index ecc60f99f..0e43f2c10 100644
d9d99f
--- a/grub-core/normal/menu_text.c
d9d99f
+++ b/grub-core/normal/menu_text.c
d9d99f
@@ -333,17 +333,15 @@ grub_menu_init_page (int nested, int edit,
d9d99f
   int version_msg = 1;
d9d99f
 
d9d99f
   geo->border = 0;
d9d99f
-  geo->first_entry_x = 0 /* margin */ + 0 /* border */;
d9d99f
-  geo->entry_width = grub_term_width (term) - 5;
d9d99f
+  geo->first_entry_x = 0; /* no margin */
d9d99f
+  geo->entry_width = grub_term_width (term) - 1;
d9d99f
 
d9d99f
-  geo->first_entry_y = 2 /* two empty lines*/
d9d99f
-    + 0 /* GNU GRUB version text  */ + 1 /* top border */;
d9d99f
+  geo->first_entry_y = 3; /* three empty lines*/
d9d99f
 
d9d99f
   geo->timeout_lines = 2;
d9d99f
 
d9d99f
   /* 3 lines for timeout message and bottom margin.  2 lines for the border.  */
d9d99f
   geo->num_entries = grub_term_height (term) - geo->first_entry_y
d9d99f
-    - 1 /* bottom border */
d9d99f
     - 1 /* empty line before info message*/
d9d99f
     - geo->timeout_lines /* timeout */
d9d99f
     - 1 /* empty final line  */;