Commit 1fd07793 authored by Rein Klazes's avatar Rein Klazes Committed by Alexandre Julliard

Search through all items when LISTVIEW_FindItemW is called with

LVFI_PARAM flag.
parent bf761a33
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment