[WIN32K:NTGDI]

- Allow NULL rectangle in NtGdiSetBoundsRect as shown by the test. Fixes a bunch of annoying first chance exceptions

svn path=/trunk/; revision=68751
This commit is contained in:
Thomas Faber 2015-08-18 10:25:45 +00:00
parent a46c9450de
commit b6a27ff10b

View file

@ -689,7 +689,7 @@ NtGdiSetBoundsRect(
RECTL_vSetEmptyRect(&pdc->erclBoundsApp); RECTL_vSetEmptyRect(&pdc->erclBoundsApp);
} }
if (flags & DCB_ACCUMULATE) if (flags & DCB_ACCUMULATE && prc != NULL)
{ {
/* Capture the rect */ /* Capture the rect */
_SEH2_TRY _SEH2_TRY