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

oldstable
Alexandre Julliard 2011-08-26 11:15:16 +02:00
parent 3ce59f5dba
commit 82ef9f960d
1 changed files with 1 additions and 0 deletions

View File

@ -3256,6 +3256,7 @@ static void test_GetDIBits_top_down(int bpp)
int *picture;
int statusCode;
memset( &bi, 0, sizeof(bi) );
bi.bmiHeader.biSize=sizeof(bi.bmiHeader);
bi.bmiHeader.biWidth=2;
bi.bmiHeader.biHeight=2;