grub2/0032-Don-t-add-to-highlighted-row.patch

27 lines
828 B
Diff
Raw Permalink Normal View History

From b8293967f7455f70a3f586f5583d7a9e5cc6772c Mon Sep 17 00:00:00 2001
2013-06-07 18:03:56 +00:00
From: William Jon McCann <william.jon.mccann@gmail.com>
Date: Wed, 15 May 2013 17:49:45 -0400
Subject: [PATCH 32/85] Don't add '*' to highlighted row
2013-06-07 18:03:56 +00:00
It is already highlighted.
---
grub-core/normal/menu_text.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/grub-core/normal/menu_text.c b/grub-core/normal/menu_text.c
index e22bb91..a3d1f23 100644
2013-06-07 18:03:56 +00:00
--- a/grub-core/normal/menu_text.c
+++ b/grub-core/normal/menu_text.c
@@ -242,7 +242,7 @@ print_entry (int y, int highlight, grub_menu_entry_t entry,
2013-06-07 18:03:56 +00:00
unicode_title[i] = ' ';
if (data->geo.num_entries > 1)
- grub_putcode (highlight ? '*' : ' ', data->term);
+ grub_putcode (' ', data->term);
2013-06-07 18:03:56 +00:00
grub_print_ucs4_menu (unicode_title,
unicode_title + len,
--
2.5.0
2013-06-07 18:03:56 +00:00