mirror of
https://github.com/reactos/reactos.git
synced 2025-06-06 01:40:36 +00:00
[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:
parent
2366903f94
commit
27951d117b
1 changed files with 1 additions and 1 deletions
|
@ -759,7 +759,7 @@ GreGetDIBitsInternal(
|
||||||
|
|
||||||
if (Bits || bpp)
|
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;
|
ScanLines = 0;
|
||||||
goto done;
|
goto done;
|
||||||
|
|
Loading…
Reference in a new issue