Gerald Pfeifer gerald@pfeifer.com writes:
@@ -388,6 +388,8 @@ static int DIB_GetBitmapInfo( const BITMAPINFOHEADER *header, LONG *width, *compr = header->biCompression; return 1; }
- *width = *height = 0; ERR("(%d): unknown/wrong size for header\n", header->biSize ); return -1;
}
0 is not valid for a bitmap, these should never be used in the error case.