diff options
author | H. Peter Anvin <hpa@zytor.com> | 2006-08-30 16:34:07 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2006-08-30 16:34:07 -0700 |
commit | 32609c088fc52285bb567a0b57445dc2e1e0a6e2 (patch) | |
tree | cde1111d92394c3d70b823dbbc8ebfa3ee547b66 /com32 | |
parent | 23795d290ed8026150c5634dd31db030771ac53a (diff) | |
download | syslinux-elf-32609c088fc52285bb567a0b57445dc2e1e0a6e2.tar.gz syslinux-elf-32609c088fc52285bb567a0b57445dc2e1e0a6e2.tar.xz syslinux-elf-32609c088fc52285bb567a0b57445dc2e1e0a6e2.zip |
Actually blend the proper colors...
Diffstat (limited to 'com32')
-rw-r--r-- | com32/lib/sys/vesa/drawtxt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/com32/lib/sys/vesa/drawtxt.c b/com32/lib/sys/vesa/drawtxt.c index c4e32c5c..b121e679 100644 --- a/com32/lib/sys/vesa/drawtxt.c +++ b/com32/lib/sys/vesa/drawtxt.c @@ -127,8 +127,8 @@ static void vesacon_update_characters(int row, int col, int nrows, int ncols) chxbits = chbits; chxbits &= (cptr->sha & 0x02) ? 0xff : 0x00; chxbits ^= (cptr->sha & 0x01) ? 0xff : 0x00; - fgcolor = vesacon_color_map[cptr->sha & 0x0f]; - bgcolor = vesacon_color_map[cptr->sha >> 4]; + fgcolor = vesacon_color_map[cptr->attr & 0x0f]; + bgcolor = vesacon_color_map[cptr->attr >> 4]; cptr++; break; case FONT_WIDTH-1: |