Module: wine Branch: master Commit: 64cd12d74055def084d4ac51273e67bf182997ba URL: http://source.winehq.org/git/wine.git/?a=commit;h=64cd12d74055def084d4ac5127...
Author: Nikolay Sivov nsivov@codeweavers.com Date: Fri May 13 21:56:48 2011 +0400
comctl32/tests: Initialize subitem index.
---
dlls/comctl32/tests/listview.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/comctl32/tests/listview.c b/dlls/comctl32/tests/listview.c index 3cfacaf..949b214 100644 --- a/dlls/comctl32/tests/listview.c +++ b/dlls/comctl32/tests/listview.c @@ -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);