nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

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

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