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

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