* grub-core/normal/menu_text.c (grub_menu_init_page): Fix behaviour

when menu highlight color isn't set.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-01-27 16:12:05 +01:00
parent 08bcec5020
commit af18fdb4df
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2013-01-27 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/normal/menu_text.c (grub_menu_init_page): Fix behaviour
when menu highlight color isn't set.
2013-01-27 C. Masloch <pushbx@38.de>
Improve FreeDOS direct loading support compatibility.

View file

@ -357,7 +357,7 @@ grub_menu_init_page (int nested, int edit, int *num_entries,
old_color_normal = grub_term_normal_color;
old_color_highlight = grub_term_highlight_color;
grub_color_menu_normal = grub_term_normal_color;
grub_color_menu_highlight = grub_color_menu_highlight;
grub_color_menu_highlight = grub_term_highlight_color;
/* Then give user a chance to replace them. */
grub_parse_color_name_pair (&grub_color_menu_normal,