comctl32/header: Avoid uninitialized memory passed to HDM_INSERTITEM, some fields are always copied.
This commit is contained in:
parent
1e1c1310f5
commit
d2e169fadd
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue