comctl32/tests: Header item struct gets characters not bytes.
Signed-off-by: Marcus Meissner <meissner@suse.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
3d482d3f9f
commit
6e437acf1c
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue