Commit d2e169fa authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

comctl32/header: Avoid uninitialized memory passed to HDM_INSERTITEM, some…

comctl32/header: Avoid uninitialized memory passed to HDM_INSERTITEM, some fields are always copied.
parent 1e1c1310
......@@ -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;
......
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