[WIN32K] Remove an unneeded check at GreGetDIBitsInternal. Patch by Victor Martinez...
authorMark Jansen <mark.jansen@reactos.org>
Sun, 11 Jun 2017 11:18:57 +0000 (11:18 +0000)
committerMark 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

index 6bb0990..461f63d 100644 (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;