dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone

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

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