Commit 82ef9f96 authored by Alexandre Julliard's avatar Alexandre Julliard

gdi32/tests: Make sure the bitmap info is initialized in the GetDIBits test.

parent 3ce59f5d
...@@ -3256,6 +3256,7 @@ static void test_GetDIBits_top_down(int bpp) ...@@ -3256,6 +3256,7 @@ static void test_GetDIBits_top_down(int bpp)
int *picture; int *picture;
int statusCode; int statusCode;
memset( &bi, 0, sizeof(bi) );
bi.bmiHeader.biSize=sizeof(bi.bmiHeader); bi.bmiHeader.biSize=sizeof(bi.bmiHeader);
bi.bmiHeader.biWidth=2; bi.bmiHeader.biWidth=2;
bi.bmiHeader.biHeight=2; bi.bmiHeader.biHeight=2;
......
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