From 513522e8d2728e1bc0653fcd7137c8542ac19b58 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Thu, 31 Aug 2006 15:59:45 -0700 Subject: [PATCH] Shading fix --- com32/lib/sys/vesa/drawtxt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com32/lib/sys/vesa/drawtxt.c b/com32/lib/sys/vesa/drawtxt.c index f2c7951..5910e08 100644 --- a/com32/lib/sys/vesa/drawtxt.c +++ b/com32/lib/sys/vesa/drawtxt.c @@ -113,7 +113,7 @@ static void vesacon_update_characters(int row, int col, int nrows, int ncols) chsbits = __vesacon_graphics_font[csptr->ch][pixsrow]; chsbits &= (csptr->sha & 0x02) ? 0xff : 0x00; chsbits ^= (csptr->sha & 0x01) ? 0xff : 0x00; - chsbits <<= 7; + chsbits <<= 6; csptr++; for (j = width*ncols; j >= 0; j--) { -- 2.7.4