mirror of
https://github.com/reactos/reactos.git
synced 2024-06-30 18:01:07 +00:00
[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:
parent
a46c9450de
commit
b6a27ff10b
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue