Mask out the bit 0x80 since it has other meaning that specifiing color.
+2010-08-30 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * grub-core/term/i386/vga_common.c (grub_console_setcolorstate):
+ Mask out the bit 0x80 since it has other meaning that specifiing color.
+
2010-08-29 Vladimir Serbinenko <phcoder@gmail.com>
New relocator. Allows for more kernel support and more straightforward
{
switch (state) {
case GRUB_TERM_COLOR_STANDARD:
- grub_console_cur_color = GRUB_TERM_DEFAULT_STANDARD_COLOR;
+ grub_console_cur_color = GRUB_TERM_DEFAULT_STANDARD_COLOR & 0x7f;
break;
case GRUB_TERM_COLOR_NORMAL:
- grub_console_cur_color = term->normal_color;
+ grub_console_cur_color = term->normal_color & 0x7f;
break;
case GRUB_TERM_COLOR_HIGHLIGHT:
- grub_console_cur_color = term->highlight_color;
+ grub_console_cur_color = term->highlight_color & 0x7f;
break;
default:
break;