mirror of
https://github.com/reactos/wine.git
synced 2025-02-18 03:48:01 +00:00
gdiplus: GdipLoadImageFromStream: initialize variable.
This commit is contained in:
parent
f994306a02
commit
8c8262510d
@ -759,6 +759,7 @@ GpStatus WINGDIPAPI GdipLoadImageFromStream(IStream* stream, GpImage **image)
|
||||
IPicture_get_Handle(pic, &hbm);
|
||||
IPicture_get_CurDC(pic, &hdc);
|
||||
|
||||
ZeroMemory(&bmi, sizeof(bmi));
|
||||
bmch = (BITMAPCOREHEADER*) (&bmi.bmiHeader);
|
||||
bmch->bcSize = sizeof(BITMAPCOREHEADER);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user