diff --git a/reactos/subsystems/win32/win32k/dib/dib16bpp.c b/reactos/subsystems/win32/win32k/dib/dib16bpp.c index b863ae243fe..506b5def8ea 100644 --- a/reactos/subsystems/win32/win32k/dib/dib16bpp.c +++ b/reactos/subsystems/win32/win32k/dib/dib16bpp.c @@ -651,7 +651,7 @@ BOOLEAN DIB_16BPP_StretchBlt(SURFOBJ *DestSurf, SURFOBJ *SourceSurf, /* Calc the zoom factor of soruce height */ SrcZoomYHight = SrcSizeY / DesSizeY; - SrcZoomYLow = SrcSizeY - (SrcZoomYHight * SrcSizeY); + SrcZoomYLow = SrcSizeY - (SrcZoomYHight * DesSizeY); /* Calc the zoom factor of soruce width */ SrcZoomXHight = SrcSizeX / DesSizeX;