mirror of
https://github.com/reactos/reactos.git
synced 2024-08-07 19:58:21 +00:00
[WIN32K]
- NtGdiGetDIBitsInternal: Copy the requested amount of scanlines into the return buffer, not the whole bitmap. Should fix bug #5766. svn path=/trunk/; revision=50113
This commit is contained in:
parent
ac56cac80c
commit
aa62a1a2a6
|
@ -971,7 +971,7 @@ NtGdiGetDIBitsInternal(
|
|||
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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue