diff --git a/reactos/subsys/win32k/objects/dib.c b/reactos/subsys/win32k/objects/dib.c index b5ff7d3f416..0be58248360 100644 --- a/reactos/subsys/win32k/objects/dib.c +++ b/reactos/subsys/win32k/objects/dib.c @@ -498,7 +498,8 @@ NtGdiGetDIBits(HDC hDC, DestPaletteType, SourcePaletteType, hDestPalette, hSourcePalette); SourcePoint.x = 0; - SourcePoint.y = StartScan; + SourcePoint.y = BitmapObj->SurfObj.sizlBitmap.cy - + (StartScan + ScanLines); /* Determine destination rectangle */ DestRect.top = 0;