Repository :
https://github.com/FarGroup/FarManager
On branch : master
Link :
https://github.com/FarGroup/FarManager/commit/99773eae33c2ad31d5da35c9c21d18a407cce534
>---------------------------------------------------------------
commit 99773eae33c2ad31d5da35c9c21d18a407cce534
Author: Rohitab Batra <
roh...@rohitab.com>
Date: Fri Sep 19 09:20:03 2025 +1000
gh-1005: DM_LISTFINDSTRING finds incorrect items if the text contains path separators
>---------------------------------------------------------------
99773eae33c2ad31d5da35c9c21d18a407cce534
far/changelog | 5 +++++
far/vbuild.m4 | 2 +-
far/vmenu.cpp | 2 +-
3 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/far/changelog b/far/changelog
index 8ea3acfcd..648add52b 100644
--- a/far/changelog
+++ b/far/changelog
@@ -1,3 +1,8 @@
+--------------------------------------------------------------------------------
+rohitab 2025-09-19 08:58:11+10:00 - build 6558
+
+1. gh-1005: DM_LISTFINDSTRING finds incorrect items if the text contains path separators.
+
--------------------------------------------------------------------------------
zg 2025-09-17 17:13:29+03:00 - build 6557
diff --git a/far/vbuild.m4 b/far/vbuild.m4
index dc1f7a62c..60262f8d2 100644
--- a/far/vbuild.m4
+++ b/far/vbuild.m4
@@ -1 +1 @@
-6557
+6558
diff --git a/far/vmenu.cpp b/far/vmenu.cpp
index 8aa21ae37..9245637f6 100644
--- a/far/vmenu.cpp
+++ b/far/vmenu.cpp
@@ -3490,7 +3490,7 @@ int VMenu::FindItem(int StartIndex, string_view const Pattern, unsigned long lon
}
else
{
- if (CmpName(Pattern, strTmpBuf, true))
+ if (CmpName(Pattern, strTmpBuf, false))
return static_cast<int>(I);
}
}