--- trunk/reactos/subsys/win32k/dib/dib32bpp.c 2006-01-10 19:41:07 UTC (rev 20765)
+++ trunk/reactos/subsys/win32k/dib/dib32bpp.c 2006-01-10 20:45:27 UTC (rev 20766)
@@ -568,7 +568,7 @@
DestBits = (PULONG)((PBYTE)DestSurf->pvScan0 + (DestRect->left << 2) +
DestRect->top * DestSurf->lDelta);
- DifflDelta = DestSurf->lDelta - (DesSizeX << 1);
+ DifflDelta = DestSurf->lDelta - (DesSizeX << 2);
for (DesY=0; DesY<DesSizeY; DesY++)
{
@@ -599,7 +599,7 @@
DestBits = (PULONG)((PBYTE)DestSurf->pvScan0 + (DestRect->left << 2) +
DestRect->top * DestSurf->lDelta);
- DifflDelta = DestSurf->lDelta - (DesSizeX << 1);
+ DifflDelta = DestSurf->lDelta - (DesSizeX << 2);
for (DesY=0; DesY<DesSizeY; DesY++)
{
@@ -623,7 +623,7 @@
DestBits = (PULONG)((PBYTE)DestSurf->pvScan0 + (DestRect->left << 2) +
DestRect->top * DestSurf->lDelta);
- DifflDelta = DestSurf->lDelta - (DesSizeX << 1);
+ DifflDelta = DestSurf->lDelta - (DesSizeX << 2);
for (DesY=0; DesY<DesSizeY; DesY++)
{
@@ -646,7 +646,7 @@
DestBits = (PULONG)((PBYTE)DestSurf->pvScan0 + (DestRect->left << 2) +
DestRect->top * DestSurf->lDelta);
- DifflDelta = DestSurf->lDelta - (DesSizeX << 1);
+ DifflDelta = DestSurf->lDelta - (DesSizeX << 2);
for (DesY=0; DesY<DesSizeY; DesY++)
{
@@ -669,7 +669,7 @@
DestBits = (PULONG)((PBYTE)DestSurf->pvScan0 + (DestRect->left << 2) +
DestRect->top * DestSurf->lDelta);
- DifflDelta = DestSurf->lDelta - (DesSizeX << 1);
+ DifflDelta = DestSurf->lDelta - (DesSizeX << 2);
for (DesY=0; DesY<DesSizeY; DesY++)
{