projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a46c945
)
[WIN32K:NTGDI]
author
Thomas Faber
<thomas.faber@reactos.org>
Tue, 18 Aug 2015 10:25:45 +0000
(10:25 +0000)
committer
Thomas Faber
<thomas.faber@reactos.org>
Tue, 18 Aug 2015 10:25:45 +0000
(10:25 +0000)
- Allow NULL rectangle in NtGdiSetBoundsRect as shown by the test. Fixes a bunch of annoying first chance exceptions
svn path=/trunk/; revision=68751
reactos/win32ss/gdi/ntgdi/dcutil.c
patch
|
blob
|
history
diff --git
a/reactos/win32ss/gdi/ntgdi/dcutil.c
b/reactos/win32ss/gdi/ntgdi/dcutil.c
index
8a3b554
..
25d7ea8
100644
(file)
--- a/
reactos/win32ss/gdi/ntgdi/dcutil.c
+++ b/
reactos/win32ss/gdi/ntgdi/dcutil.c
@@
-689,7
+689,7
@@
NtGdiSetBoundsRect(
RECTL_vSetEmptyRect(&pdc->erclBoundsApp);
}
- if (flags & DCB_ACCUMULATE)
+ if (flags & DCB_ACCUMULATE
&& prc != NULL
)
{
/* Capture the rect */
_SEH2_TRY