comctl32/tests: Initialize subitem index.
This commit is contained in:
parent
041a651431
commit
64cd12d740
|
@ -4733,6 +4733,8 @@ static void test_LVM_SETITEMTEXT(void)
|
||||||
/* index out of bounds */
|
/* index out of bounds */
|
||||||
item.pszText = testA;
|
item.pszText = testA;
|
||||||
item.cchTextMax = 0; /* ignored */
|
item.cchTextMax = 0; /* ignored */
|
||||||
|
item.iSubItem = 0;
|
||||||
|
|
||||||
ret = SendMessageA(hwnd, LVM_SETITEMTEXTA, 1, (LPARAM)&item);
|
ret = SendMessageA(hwnd, LVM_SETITEMTEXTA, 1, (LPARAM)&item);
|
||||||
expect(FALSE, ret);
|
expect(FALSE, ret);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue