mirror of
https://src.fedoraproject.org/rpms/grub2.git
synced 2024-12-01 08:49:52 +00:00
afb0baacd6
The BLS config filenames are guaranteed to be unique, so they can be used as GRUB2 entry id and can also be used to sort the menu entries. Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
26 lines
827 B
Diff
26 lines
827 B
Diff
From 018439ecfda2bc5049ccbfb0d6ab7fa047411a3b 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 095/250] 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 1062d64ee29..ecc60f99fc3 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,
|
|
--
|
|
2.17.1
|
|
|