[WIN32K] Remove an unneeded check at GreGetDIBitsInternal. Patch by Victor Martinez Calvo. CORE-13413 CID 1411972

svn path=/trunk/; revision=74999
This commit is contained in:
Mark Jansen 2017-06-11 11:18:57 +00:00
parent 2366903f94
commit 27951d117b

View file

@ -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;