[PATCH 1/1] Initialize subitem index

Nikolay Sivov nsivov at codeweavers.com
Fri May 13 12:56:48 CDT 2011


---
 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);
 
-- 
1.5.6.5


--------------060705070400060303030609--



More information about the wine-patches mailing list