[PATCH 1/3] comctl32/listview: Search through all items in LVFI_NEARESTXY mode
Nikolay Sivov
nsivov at codeweavers.com
Sun May 21 16:09:39 CDT 2017
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
dlls/comctl32/listview.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c
index c681451942..35c2453094 100644
--- a/dlls/comctl32/listview.c
+++ b/dlls/comctl32/listview.c
@@ -6392,6 +6392,8 @@ static INT LISTVIEW_FindItemW(const LISTVIEW_INFO *infoPtr, INT nStart,
lvItem.mask &= ~LVIF_TEXT;
}
+ nItem = bNearest ? -1 : nStart + 1;
+
again:
for (; nItem < nLast; nItem++)
{
--
2.11.0
More information about the wine-patches
mailing list