Return line count when the bits parameter is NULL.
This commit is contained in:
parent
5f395061ef
commit
605e22abb2
|
@ -746,6 +746,7 @@ INT WINAPI GetDIBits(
|
||||||
info->bmiHeader.biHeight,
|
info->bmiHeader.biHeight,
|
||||||
info->bmiHeader.biBitCount );
|
info->bmiHeader.biBitCount );
|
||||||
}
|
}
|
||||||
|
lines = info->bmiHeader.biHeight;
|
||||||
}
|
}
|
||||||
|
|
||||||
TRACE("biSizeImage = %ld, biWidth = %ld, biHeight = %ld\n",
|
TRACE("biSizeImage = %ld, biWidth = %ld, biHeight = %ld\n",
|
||||||
|
|
Loading…
Reference in New Issue