dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone

Blame SOURCES/0143-grub-core-normal-menu_text.c-grub_menu_init_page-Fix.patch

f96e0b
From 7d0513c0e5552c09b21e66f73b718f51cb8a6afc Mon Sep 17 00:00:00 2001
f96e0b
From: Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>
f96e0b
Date: Sun, 27 Jan 2013 16:12:05 +0100
f96e0b
Subject: [PATCH 143/482] 	* grub-core/normal/menu_text.c
f96e0b
 (grub_menu_init_page): Fix behaviour 	when menu highlight color isn't set.
f96e0b
f96e0b
---
f96e0b
 ChangeLog                    | 5 +++++
f96e0b
 grub-core/normal/menu_text.c | 2 +-
f96e0b
 2 files changed, 6 insertions(+), 1 deletion(-)
f96e0b
f96e0b
diff --git a/ChangeLog b/ChangeLog
f96e0b
index f5cb7dc..2ad83f5 100644
f96e0b
--- a/ChangeLog
f96e0b
+++ b/ChangeLog
f96e0b
@@ -1,3 +1,8 @@
f96e0b
+2013-01-27  Vladimir Serbinenko  <phcoder@gmail.com>
f96e0b
+
f96e0b
+	* grub-core/normal/menu_text.c (grub_menu_init_page): Fix behaviour
f96e0b
+	when menu highlight color isn't set.
f96e0b
+
f96e0b
 2013-01-27  C. Masloch  <pushbx@38.de>
f96e0b
 
f96e0b
 	Improve FreeDOS direct loading support compatibility.
f96e0b
diff --git a/grub-core/normal/menu_text.c b/grub-core/normal/menu_text.c
f96e0b
index 80a7cd9..0031b0c 100644
f96e0b
--- a/grub-core/normal/menu_text.c
f96e0b
+++ b/grub-core/normal/menu_text.c
f96e0b
@@ -357,7 +357,7 @@ grub_menu_init_page (int nested, int edit, int *num_entries,
f96e0b
   old_color_normal = grub_term_normal_color;
f96e0b
   old_color_highlight = grub_term_highlight_color;
f96e0b
   grub_color_menu_normal = grub_term_normal_color;
f96e0b
-  grub_color_menu_highlight = grub_color_menu_highlight;
f96e0b
+  grub_color_menu_highlight = grub_term_highlight_color;
f96e0b
 
f96e0b
   /* Then give user a chance to replace them.  */
f96e0b
   grub_parse_color_name_pair (&grub_color_menu_normal,
f96e0b
-- 
f96e0b
1.8.2.1
f96e0b