dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone

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

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