Commit 6e437acf authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

comctl32/tests: Header item struct gets characters not bytes.

parent 3d482d3f
......@@ -5490,7 +5490,7 @@ static void test_header_notification2(void)
memset(&itemW, 0, sizeof(itemW));
itemW.mask = HDI_WIDTH | HDI_ORDER | HDI_TEXT;
itemW.pszText = buffer;
itemW.cchTextMax = sizeof(buffer);
itemW.cchTextMax = ARRAY_SIZE(buffer);
ret = SendMessageW(header, HDM_GETITEMW, 0, (LPARAM)&itemW);
expect(1, ret);
......
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