Blame SOURCES/0111-Fix-margins.patch

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