dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone

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

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