Author: tfaber
Date: Tue Aug 18 10:25:45 2015
New Revision: 68751
URL:
http://svn.reactos.org/svn/reactos?rev=68751&view=rev
Log:
[WIN32K:NTGDI]
- Allow NULL rectangle in NtGdiSetBoundsRect as shown by the test. Fixes a bunch of
annoying first chance exceptions
Modified:
trunk/reactos/win32ss/gdi/ntgdi/dcutil.c
Modified: trunk/reactos/win32ss/gdi/ntgdi/dcutil.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/gdi/ntgdi/dcutil.c…
==============================================================================
--- trunk/reactos/win32ss/gdi/ntgdi/dcutil.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/gdi/ntgdi/dcutil.c [iso-8859-1] Tue Aug 18 10:25:45 2015
@@ -689,7 +689,7 @@
RECTL_vSetEmptyRect(&pdc->erclBoundsApp);
}
- if (flags & DCB_ACCUMULATE)
+ if (flags & DCB_ACCUMULATE && prc != NULL)
{
/* Capture the rect */
_SEH2_TRY