mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
- Port wine right.
svn path=/trunk/; revision=54254
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user