fix a typo
Modified: trunk/reactos/subsys/win32k/dib/dib1bpp.c
_____
Modified: trunk/reactos/subsys/win32k/dib/dib1bpp.c
--- trunk/reactos/subsys/win32k/dib/dib1bpp.c 2006-01-06 18:28:27 UTC
(rev 20616)
+++ trunk/reactos/subsys/win32k/dib/dib1bpp.c 2006-01-06 19:05:34 UTC
(rev 20617)
@@ -496,6 +496,7 @@
}
//NOTE: If you change something here, please do the same in other
dibXXbpp.c files!
+
BOOLEAN DIB_1BPP_StretchBlt(SURFOBJ *DestSurf, SURFOBJ *SourceSurf,
RECTL* DestRect, RECTL *SourceRect,
POINTL* MaskOrigin, POINTL BrushOrigin,
@@ -533,7 +534,7 @@
sx = (((DesX - DestRect->left) * SrcSizeX) /
DesSizeX) + SourceRect->left;
color = DIB_1BPP_GetPixel(SourceSurf, sx, sy);
- DIB_1BPP_PutPixel(DestSurf, DesX,
DesY, XLATEOBJ_iXlate(ColorTranslation, 0));
+ DIB_1BPP_PutPixel(DestSurf, DesX,
DesY, XLATEOBJ_iXlate(ColorTranslation, color));
}
}
Show replies by date