mirror of
https://github.com/reactos/reactos.git
synced 2024-10-04 08:25:53 +00:00
- Fix crash in gdi32 bitmap winetest
svn path=/trunk/; revision=41014
This commit is contained in:
parent
ccf3aa7ce8
commit
822db26efe
|
@ -74,7 +74,6 @@ DIB_GetBitmapInfo(const BITMAPINFOHEADER *header,
|
|||
PLONG compr,
|
||||
PLONG size )
|
||||
{
|
||||
|
||||
if (header->biSize == sizeof(BITMAPCOREHEADER))
|
||||
{
|
||||
BITMAPCOREHEADER *core = (BITMAPCOREHEADER *)header;
|
||||
|
@ -468,6 +467,8 @@ CreateDIBitmap( HDC hDC,
|
|||
PVOID pvSafeBits = NULL;
|
||||
HBITMAP hBmp;
|
||||
|
||||
if (!Header) return 0;
|
||||
|
||||
pConvertedInfo = ConvertBitmapInfo(Data, ColorUse,
|
||||
&ConvertedInfoSize, FALSE);
|
||||
|
||||
|
|
Loading…
Reference in a new issue