nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

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

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