mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +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:
1 parent
51c23159b1
commit
3dca01d7e3
2 files changed
+8
-3
No files matched your search
@@ -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;
|
||||||
|
|||||||
Reference in new issue
Block a user