Author: gschneider
Date: Sat Oct 25 12:35:45 2008
New Revision: 36955
URL:
http://svn.reactos.org/svn/reactos?rev=36955&view=rev
Log:
Misc. typo fixes
Modified:
trunk/reactos/subsystems/win32/win32k/dib/dib16bpp.c
trunk/reactos/subsystems/win32/win32k/dib/dib32bpp.c
trunk/reactos/subsystems/win32/win32k/dib/dib8bpp.c
Modified: trunk/reactos/subsystems/win32/win32k/dib/dib16bpp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/di…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/dib/dib16bpp.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/dib/dib16bpp.c [iso-8859-1] Sat Oct 25 12:35:45
2008
@@ -764,17 +764,17 @@
/* Calc the Zoom Width of Source */
SrcSizeX = SourceRect->right - SourceRect->left;
- /* Calc the Zoom height of Destions */
+ /* Calc the Zoom height of Destinations */
DesSizeY = DestRect->bottom - DestRect->top;
- /* Calc the Zoom width of Destions */
+ /* Calc the Zoom width of Destinations */
DesSizeX = DestRect->right - DestRect->left;
- /* Calc the zoom factor of soruce height */
+ /* Calc the zoom factor of source height */
SrcZoomYHight = SrcSizeY / DesSizeY;
SrcZoomYLow = SrcSizeY - (SrcZoomYHight * DesSizeY);
- /* Calc the zoom factor of soruce width */
+ /* Calc the zoom factor of source width */
SrcZoomXHight = SrcSizeX / DesSizeX;
SrcZoomXLow = SrcSizeX - (SrcZoomXHight * DesSizeX);
Modified: trunk/reactos/subsystems/win32/win32k/dib/dib32bpp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/di…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/dib/dib32bpp.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/dib/dib32bpp.c [iso-8859-1] Sat Oct 25 12:35:45
2008
@@ -516,17 +516,17 @@
/* Calc the Zoom Width of Source */
SrcSizeX = SourceRect->right - SourceRect->left;
- /* Calc the Zoom height of Destions */
+ /* Calc the Zoom height of Destinations */
DesSizeY = DestRect->bottom - DestRect->top;
- /* Calc the Zoom width of Destions */
+ /* Calc the Zoom width of Destinations */
DesSizeX = DestRect->right - DestRect->left;
- /* Calc the zoom factor of soruce height */
+ /* Calc the zoom factor of source height */
SrcZoomYHight = SrcSizeY / DesSizeY;
SrcZoomYLow = SrcSizeY - (SrcZoomYHight * DesSizeY);
- /* Calc the zoom factor of soruce width */
+ /* Calc the zoom factor of source width */
SrcZoomXHight = SrcSizeX / DesSizeX;
SrcZoomXLow = SrcSizeX - (SrcZoomXHight * DesSizeX);
Modified: trunk/reactos/subsystems/win32/win32k/dib/dib8bpp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/di…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/dib/dib8bpp.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/dib/dib8bpp.c [iso-8859-1] Sat Oct 25 12:35:45
2008
@@ -499,17 +499,17 @@
/* Calc the Zoom Width of Source */
SrcSizeX = SourceRect->right - SourceRect->left;
- /* Calc the Zoom height of Destions */
+ /* Calc the Zoom height of Destinations */
DesSizeY = DestRect->bottom - DestRect->top;
- /* Calc the Zoom width of Destions */
+ /* Calc the Zoom width of Destinations */
DesSizeX = DestRect->right - DestRect->left;
- /* Calc the zoom factor of soruce height */
+ /* Calc the zoom factor of source height */
SrcZoomYHight = SrcSizeY / DesSizeY;
SrcZoomYLow = SrcSizeY - (SrcZoomYHight * DesSizeY);
- /* Calc the zoom factor of soruce width */
+ /* Calc the zoom factor of source width */
SrcZoomXHight = SrcSizeX / DesSizeX;
SrcZoomXLow = SrcSizeX - (SrcZoomXHight * DesSizeX);
@@ -677,7 +677,7 @@
for (DesX=0; DesX<DesSizeX; DesX++)
{
*DestBits = XLATEOBJ_iXlate(ColorTranslation,
- DIB_1BPP_GetPixel(SourceSurf, sx, sy));
+ DIB_32BPP_GetPixel(SourceSurf, sx, sy));
DestBits = (PULONG)((ULONG_PTR)DestBits + 1);