nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

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

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