nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

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

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