nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

Blame SOURCES/0027-Fix-border-spacing-now-that-we-aren-t-displaying-it.patch

5593c8
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
5593c8
From: William Jon McCann <william.jon.mccann@gmail.com>
5593c8
Date: Fri, 7 Jun 2013 14:08:23 -0400
5593c8
Subject: [PATCH] Fix border spacing now that we aren't displaying it
5593c8
5593c8
---
5593c8
 grub-core/normal/menu_text.c | 6 +++---
5593c8
 1 file changed, 3 insertions(+), 3 deletions(-)
5593c8
5593c8
diff --git a/grub-core/normal/menu_text.c b/grub-core/normal/menu_text.c
d3c3ab
index cc5837ed2b8..b49835a9af7 100644
5593c8
--- a/grub-core/normal/menu_text.c
5593c8
+++ b/grub-core/normal/menu_text.c
5593c8
@@ -331,12 +331,12 @@ grub_menu_init_page (int nested, int edit,
5593c8
   int empty_lines = 1;
5593c8
   int version_msg = 1;
5593c8
 
5593c8
-  geo->border = 1;
5593c8
-  geo->first_entry_x = 1 /* margin */ + 1 /* border */;
5593c8
+  geo->border = 0;
5593c8
+  geo->first_entry_x = 0 /* margin */ + 0 /* border */;
5593c8
   geo->entry_width = grub_term_width (term) - 5;
5593c8
 
5593c8
   geo->first_entry_y = 2 /* two empty lines*/
5593c8
-    + 1 /* GNU GRUB version text  */ + 1 /* top border */;
5593c8
+    + 0 /* GNU GRUB version text  */ + 1 /* top border */;
5593c8
 
5593c8
   geo->timeout_lines = 2;
5593c8