dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone

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

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