projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2366903
)
[WIN32K] Remove an unneeded check at GreGetDIBitsInternal. Patch by Victor Martinez...
author
Mark Jansen
<mark.jansen@reactos.org>
Sun, 11 Jun 2017 11:18:57 +0000
(11:18 +0000)
committer
Mark Jansen
<mark.jansen@reactos.org>
Sun, 11 Jun 2017 11:18:57 +0000
(11:18 +0000)
svn path=/trunk/; revision=74999
reactos/win32ss/gdi/ntgdi/dibobj.c
patch
|
blob
|
history
diff --git
a/reactos/win32ss/gdi/ntgdi/dibobj.c
b/reactos/win32ss/gdi/ntgdi/dibobj.c
index
6bb0990
..
461f63d
100644
(file)
--- a/
reactos/win32ss/gdi/ntgdi/dibobj.c
+++ b/
reactos/win32ss/gdi/ntgdi/dibobj.c
@@
-759,7
+759,7
@@
GreGetDIBitsInternal(
if (Bits || bpp)
{
- if ((height == 0 ||
planes < 0 ||
width == 0) || (compr && compr != BI_BITFIELDS && compr != BI_RGB))
+ if ((height == 0 || width == 0) || (compr && compr != BI_BITFIELDS && compr != BI_RGB))
{
ScanLines = 0;
goto done;