dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone

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

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