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

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