Search through all items when LISTVIEW_FindItemW is called with

LVFI_PARAM flag.
This commit is contained in:
Rein Klazes 2002-10-23 22:28:03 +00:00 committed by Alexandre Julliard
parent bf761a331c
commit 1fd077939f

View file

@ -4455,8 +4455,13 @@ again:
lvItem.iSubItem = 0;
if (!LISTVIEW_GetItemW(infoPtr, &lvItem)) continue;
if (lvItem.mask & LVIF_PARAM && lpFindInfo->lParam == lvItem.lParam)
return nItem;
if (lvItem.mask & LVIF_PARAM)
{
if (lpFindInfo->lParam == lvItem.lParam)
return nItem;
else
continue;
}
if (lvItem.mask & LVIF_TEXT)
{