Commit 8c826251 authored by Dan Kegel's avatar Dan Kegel Committed by Alexandre Julliard

gdiplus: GdipLoadImageFromStream: initialize variable.

parent f994306a
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment