nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

Blame SOURCES/0477-Indent-menu-entries.patch

f96e0b
From 217d15e1a80e72ba7a9c643111e74ff4e3ffa803 Mon Sep 17 00:00:00 2001
f96e0b
From: William Jon McCann <william.jon.mccann@gmail.com>
f96e0b
Date: Fri, 7 Jun 2013 14:30:55 -0400
f96e0b
Subject: [PATCH 477/482] Indent menu entries
f96e0b
f96e0b
---
f96e0b
 grub-core/normal/menu_text.c | 3 ++-
f96e0b
 1 file changed, 2 insertions(+), 1 deletion(-)
f96e0b
f96e0b
diff --git a/grub-core/normal/menu_text.c b/grub-core/normal/menu_text.c
f96e0b
index e30aaa9..88cd9d0 100644
f96e0b
--- a/grub-core/normal/menu_text.c
f96e0b
+++ b/grub-core/normal/menu_text.c
f96e0b
@@ -196,7 +196,8 @@ print_entry (int y, int highlight, grub_menu_entry_t entry,
f96e0b
       unicode_title[i] = ' ';
f96e0b
 
f96e0b
   if (data->geo.num_entries > 1)
f96e0b
-    grub_putcode (' ', data->term);
f96e0b
+    for (i = 0; i < STANDARD_MARGIN; i++)
f96e0b
+      grub_putcode (' ', data->term);
f96e0b
 
f96e0b
   grub_print_ucs4_menu (unicode_title,
f96e0b
 			unicode_title + len,
f96e0b
-- 
f96e0b
1.8.2.1
f96e0b