From bf04d0ad97fefffc9ed66deb831349e98d99ffe0 Mon Sep 17 00:00:00 2001 From: Magnus Olsen Date: Wed, 24 May 2006 06:35:59 +0000 Subject: [PATCH] Fix the regress of livecd, it works now again, some how the palette color are being bigger that 256 color and then the bootvid.sys crash svn path=/trunk/; revision=22006 --- reactos/drivers/base/bootvid/bootvid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/drivers/base/bootvid/bootvid.c b/reactos/drivers/base/bootvid/bootvid.c index 62cfad382f9..0ca37d1d616 100644 --- a/reactos/drivers/base/bootvid/bootvid.c +++ b/reactos/drivers/base/bootvid/bootvid.c @@ -313,7 +313,7 @@ InbvDisplayBitmap(ULONG Width, ULONG Height, PCHAR ImageData) } } } - + if ((x>=0) && (x<640) && (479-y>=0) && (479-y<480) && (c>=0) && (c<256)) InbvPutPixels(x, 479 - y, c); x += 8 * 4; }