comctl32/listview: Fix overwriting of item values.

This commit is contained in:
Daniel Jelinski 2013-03-17 16:18:15 +01:00 committed by Alexandre Julliard
parent 874c66e086
commit 27fb2fb076

View file

@ -6265,6 +6265,7 @@ again:
{ {
lvItem.iItem = nItem; lvItem.iItem = nItem;
lvItem.iSubItem = 0; lvItem.iSubItem = 0;
lvItem.pszText = szDispText;
if (!LISTVIEW_GetItemW(infoPtr, &lvItem)) continue; if (!LISTVIEW_GetItemW(infoPtr, &lvItem)) continue;
if (lvItem.mask & LVIF_PARAM) if (lvItem.mask & LVIF_PARAM)