mirror of
https://git.proxmox.com/git/grub2
synced 2025-11-05 08:57:58 +00:00
* grub-core/term/i386/vga_common.c (grub_console_setcolorstate):
Mask out the bit 0x80 since it has other meaning that specifiing color.
This commit is contained in:
parent
51c23159b1
commit
3dca01d7e3
@ -1,3 +1,8 @@
|
|||||||
|
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>
|
2010-08-29 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
New relocator. Allows for more kernel support and more straightforward
|
New relocator. Allows for more kernel support and more straightforward
|
||||||
|
|||||||
@ -34,13 +34,13 @@ grub_console_setcolorstate (struct grub_term_output *term,
|
|||||||
{
|
{
|
||||||
switch (state) {
|
switch (state) {
|
||||||
case GRUB_TERM_COLOR_STANDARD:
|
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;
|
break;
|
||||||
case GRUB_TERM_COLOR_NORMAL:
|
case GRUB_TERM_COLOR_NORMAL:
|
||||||
grub_console_cur_color = term->normal_color;
|
grub_console_cur_color = term->normal_color & 0x7f;
|
||||||
break;
|
break;
|
||||||
case GRUB_TERM_COLOR_HIGHLIGHT:
|
case GRUB_TERM_COLOR_HIGHLIGHT:
|
||||||
grub_console_cur_color = term->highlight_color;
|
grub_console_cur_color = term->highlight_color & 0x7f;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user