grub2/0023-Indent-menu-entries.patch
Peter Jones 8c7f7590b2 Some more cleanup of the 2.02~beta2 rebase, and make Aarch64 work.
Signed-off-by: Peter Jones <pjones@redhat.com>
2014-01-14 13:47:16 -05:00

27 lines
818 B
Diff

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