dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone

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

0dc71c
From c89f05d148a1a1416513d22f62d23504b35dd230 Mon Sep 17 00:00:00 2001
0dc71c
From: William Jon McCann <william.jon.mccann@gmail.com>
0dc71c
Date: Wed, 15 May 2013 17:49:45 -0400
0dc71c
Subject: [PATCH 106/143] Don't add '*' to highlighted row
0dc71c
0dc71c
It is already highlighted.
0dc71c
---
0dc71c
 grub-core/normal/menu_text.c | 2 +-
0dc71c
 1 file changed, 1 insertion(+), 1 deletion(-)
0dc71c
0dc71c
diff --git a/grub-core/normal/menu_text.c b/grub-core/normal/menu_text.c
0dc71c
index 2ff2941..2f84fcc 100644
0dc71c
--- a/grub-core/normal/menu_text.c
0dc71c
+++ b/grub-core/normal/menu_text.c
0dc71c
@@ -242,7 +242,7 @@ 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 (highlight ? '*' : ' ', data->term);
0dc71c
+    grub_putcode (' ', data->term);
0dc71c
 
0dc71c
   grub_print_ucs4_menu (unicode_title,
0dc71c
 			unicode_title + len,
0dc71c
-- 
0dc71c
1.9.3
0dc71c