Return line count when the bits parameter is NULL.

This commit is contained in:
Alex Villacís Lasso 2004-05-27 02:20:06 +00:00 committed by Alexandre Julliard
parent 5f395061ef
commit 605e22abb2
1 changed files with 1 additions and 0 deletions

View File

@ -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",