Commit c35c7a68 authored by Dan Kegel's avatar Dan Kegel Committed by Alexandre Julliard

gdiplus/tests: Initialize buffer in test_GdipCreateBitmapFromHBITMAP.

parent edf0b4a0
......@@ -530,6 +530,7 @@ static void test_GdipCreateBitmapFromHBITMAP(void)
GdipDisposeImage((GpImage*)gpbm);
DeleteObject(hbm);
memset(buff, 0, sizeof(buff));
hbm = CreateBitmap(WIDTH2, HEIGHT2, 1, 1, &buff);
stat = GdipCreateBitmapFromHBITMAP(hbm, NULL, &gpbm);
expect(Ok, stat);
......
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