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

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