comctl32/header: Avoid uninitialized memory passed to HDM_INSERTITEM, some fields are always copied.

This commit is contained in:
Nikolay Sivov 2009-11-28 17:31:52 +03:00 committed by Alexandre Julliard
parent 1e1c1310f5
commit d2e169fadd
1 changed files with 1 additions and 0 deletions

View File

@ -1267,6 +1267,7 @@ static void test_hds_nosizing(HWND hParent)
hChild = create_custom_header_control(hParent, FALSE);
memset(&hdItem, 0, sizeof(hdItem));
hdItem.mask = HDI_WIDTH;
hdItem.cxy = 80;