comctl32/tests: Initialize subitem index.

oldstable
Nikolay Sivov 2011-05-13 21:56:48 +04:00 committed by Alexandre Julliard
parent 041a651431
commit 64cd12d740
1 changed files with 2 additions and 0 deletions

View File

@ -4733,6 +4733,8 @@ static void test_LVM_SETITEMTEXT(void)
/* index out of bounds */
item.pszText = testA;
item.cchTextMax = 0; /* ignored */
item.iSubItem = 0;
ret = SendMessageA(hwnd, LVM_SETITEMTEXTA, 1, (LPARAM)&item);
expect(FALSE, ret);