mirror of
https://github.com/reactos/reactos.git
synced 2024-07-12 23:55:07 +00:00
- Port wine right.
svn path=/trunk/; revision=54254
This commit is contained in:
parent
ee477c63ed
commit
46520a9bbe
|
@ -241,7 +241,9 @@ static int DIB_GetBitmapInfo( const BITMAPINFOHEADER *header, LONG *width,
|
|||
*compr = 0;
|
||||
return 0;
|
||||
}
|
||||
else if (header->biSize >= sizeof(BITMAPINFOHEADER))
|
||||
else if (header->biSize == sizeof(BITMAPINFOHEADER) ||
|
||||
header->biSize == sizeof(BITMAPV4HEADER) ||
|
||||
header->biSize == sizeof(BITMAPV5HEADER))
|
||||
{
|
||||
*width = header->biWidth;
|
||||
*height = header->biHeight;
|
||||
|
|
Loading…
Reference in a new issue