From: BVK Chaitanya Date: Thu, 12 Aug 2010 15:22:42 +0000 (+0530) Subject: Fix for misspelled color names defaulting to black/black (bug X-Git-Tag: 1.99~664 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7a3c13dea52df96e15b6e0a16847bad536af53ec;p=thirdparty%2Fgrub.git Fix for misspelled color names defaulting to black/black (bug reported by Doug Nazar) * include/grub/normal.h (grub_parse_color_name_pair): Add return status to prototype. * normal/color.c (grub_parse_color_name_pair): Return failure status. (grub_env_write_color_normal): Ignore bad color names. (grub_env_write_color_highlight): Likewise. * normal/main.c (GRUB_MOD_INIT): Set default color names. --- 7a3c13dea52df96e15b6e0a16847bad536af53ec diff --cc ChangeLog index a8cb8f6e6,a8cb8f6e6..3703337d8 --- a/ChangeLog +++ b/ChangeLog @@@ -1,3 -1,3 +1,16 @@@ ++2010-08-12 BVK Chaitanya ++ ++ Fix for misspelled color names defaulting to black/black (bug ++ reported by Doug Nazar) ++ ++ * include/grub/normal.h (grub_parse_color_name_pair): Add return ++ status to prototype. ++ * normal/color.c (grub_parse_color_name_pair): Return failure ++ status. ++ (grub_env_write_color_normal): Ignore bad color names. ++ (grub_env_write_color_highlight): Likewise. ++ * normal/main.c (GRUB_MOD_INIT): Set default color names. ++ 2010-08-12 BVK Chaitanya "shift" command support to GRUB script.