nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

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

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