nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

Blame SOURCES/0471-Don-t-add-to-highlighted-row.patch

f96e0b
From 86ce8133e947621554f185ce50af44a7b599479d Mon Sep 17 00:00:00 2001
f96e0b
From: William Jon McCann <william.jon.mccann@gmail.com>
f96e0b
Date: Wed, 15 May 2013 17:49:45 -0400
f96e0b
Subject: [PATCH 471/482] Don't add '*' to highlighted row
f96e0b
f96e0b
It is already highlighted.
f96e0b
---
f96e0b
 grub-core/normal/menu_text.c | 2 +-
f96e0b
 1 file changed, 1 insertion(+), 1 deletion(-)
f96e0b
f96e0b
diff --git a/grub-core/normal/menu_text.c b/grub-core/normal/menu_text.c
f96e0b
index faf1d3e..3bf8a53 100644
f96e0b
--- a/grub-core/normal/menu_text.c
f96e0b
+++ b/grub-core/normal/menu_text.c
f96e0b
@@ -200,7 +200,7 @@ print_entry (int y, int highlight, grub_menu_entry_t entry,
f96e0b
       unicode_title[i] = ' ';
f96e0b
 
f96e0b
   if (data->geo.num_entries > 1)
f96e0b
-    grub_putcode (highlight ? '*' : ' ', data->term);
f96e0b
+    grub_putcode (' ', term);
f96e0b
 
f96e0b
   grub_print_ucs4_menu (unicode_title,
f96e0b
 			unicode_title + len,
f96e0b
-- 
f96e0b
1.8.2.1
f96e0b