freeldr/freeldr/arch/i386
diff -u -r1.2 -r1.3
--- pcvideo.c 23 Nov 2004 11:28:02 -0000 1.2
+++ pcvideo.c 13 Dec 2004 15:07:33 -0000 1.3
@@ -1,4 +1,4 @@
-/* $Id: pcvideo.c,v 1.2 2004/11/23 11:28:02 gvg Exp $
+/* $Id: pcvideo.c,v 1.3 2004/12/13 15:07:33 gvg Exp $
*
* FreeLoader
*
@@ -1055,7 +1055,7 @@
{
U16 *BufPtr;
- BufPtr = (U16 *) (VIDEOTEXT_MEM_ADDRESS + (Y * BytesPerScanLine + X) * 2);
+ BufPtr = (U16 *) (VIDEOTEXT_MEM_ADDRESS + Y * BytesPerScanLine + X * 2);
*BufPtr = ((U16) Attr << 8) | (Ch & 0xff);
}