dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone

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

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