dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone

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

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