mirror of
https://github.com/reactos/reactos.git
synced 2025-05-28 13:38:19 +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
1 changed files with 1 additions and 1 deletions
|
@ -689,7 +689,7 @@ NtGdiSetBoundsRect(
|
|||
RECTL_vSetEmptyRect(&pdc->erclBoundsApp);
|
||||
}
|
||||
|
||||
if (flags & DCB_ACCUMULATE)
|
||||
if (flags & DCB_ACCUMULATE && prc != NULL)
|
||||
{
|
||||
/* Capture the rect */
|
||||
_SEH2_TRY
|
||||
|
|
Loading…
Reference in a new issue