Search through all items when LISTVIEW_FindItemW is called with
LVFI_PARAM flag.
This commit is contained in:
parent
bf761a331c
commit
1fd077939f
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue