nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

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

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