Fix a typo introduced in r66644. Fixes icon corruption / testbot regression.
CORE-9351 #resolve

svn path=/trunk/; revision=66656
This commit is contained in:
Timo Kreuzer 2015-03-10 10:01:44 +00:00
parent 649462e5ff
commit 5f980c38ce

View file

@ -1051,7 +1051,7 @@ NtGdiGetDIBitsInternal(
{
/* Probe and copy the BITMAPINFO */
ProbeForRead(pbmi, cjMaxInfo, 1);
RtlCopyMemory(pbmi, pbmi, cjMaxInfo);
RtlCopyMemory(pbmiSafe, pbmi, cjMaxInfo);
}
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
{