Author: rmessiant
Date: Thu Dec 23 14:10:59 2010
New Revision: 50113
URL:
http://svn.reactos.org/svn/reactos?rev=50113&view=rev
Log:
[WIN32K]
- NtGdiGetDIBitsInternal: Copy the requested amount of scanlines into the return buffer,
not the whole bitmap. Should fix bug #5766.
Modified:
trunk/reactos/subsystems/win32/win32k/objects/dibobj.c
Modified: trunk/reactos/subsystems/win32/win32k/objects/dibobj.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ob…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/objects/dibobj.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/objects/dibobj.c [iso-8859-1] Thu Dec 23
14:10:59 2010
@@ -971,7 +971,7 @@
Status = STATUS_SUCCESS;
_SEH2_TRY
{
- RtlCopyMemory(Bits, pDIBits, DIB_GetDIBImageBytes (width, height, bpp));
+ RtlCopyMemory(Bits, pDIBits, DIB_GetDIBImageBytes (width, ScanLines, bpp));
}
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
{