dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone

Blame SOURCES/0034-Fix-border-spacing-now-that-we-aren-t-displaying-it.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:08:23 -0400
d9d99f
Subject: [PATCH] Fix border spacing now that we aren't displaying it
d9d99f
d9d99f
---
d9d99f
 grub-core/normal/menu_text.c | 6 +++---
d9d99f
 1 file changed, 3 insertions(+), 3 deletions(-)
d9d99f
d9d99f
diff --git a/grub-core/normal/menu_text.c b/grub-core/normal/menu_text.c
d9d99f
index 64a83862f66..1062d64ee29 100644
d9d99f
--- a/grub-core/normal/menu_text.c
d9d99f
+++ b/grub-core/normal/menu_text.c
d9d99f
@@ -331,12 +331,12 @@ grub_menu_init_page (int nested, int edit,
d9d99f
   int empty_lines = 1;
d9d99f
   int version_msg = 1;
d9d99f
 
d9d99f
-  geo->border = 1;
d9d99f
-  geo->first_entry_x = 1 /* margin */ + 1 /* border */;
d9d99f
+  geo->border = 0;
d9d99f
+  geo->first_entry_x = 0 /* margin */ + 0 /* border */;
d9d99f
   geo->entry_width = grub_term_width (term) - 5;
d9d99f
 
d9d99f
   geo->first_entry_y = 2 /* two empty lines*/
d9d99f
-    + 1 /* GNU GRUB version text  */ + 1 /* top border */;
d9d99f
+    + 0 /* GNU GRUB version text  */ + 1 /* top border */;
d9d99f
 
d9d99f
   geo->timeout_lines = 2;
d9d99f