diff --git a/objects/dib.c b/objects/dib.c index cae59787737..e4b1f59d352 100644 --- a/objects/dib.c +++ b/objects/dib.c @@ -746,6 +746,7 @@ INT WINAPI GetDIBits( info->bmiHeader.biHeight, info->bmiHeader.biBitCount ); } + lines = info->bmiHeader.biHeight; } TRACE("biSizeImage = %ld, biWidth = %ld, biHeight = %ld\n",