TFileSearcher: don't add a pathdelimiter to the path when calling OnQueryDirectoryEnter.

This commit is contained in:
Bart 2024-02-07 10:09:13 +01:00
parent 558e9d1a58
commit c95ec9df9f

View File

@ -860,7 +860,7 @@ var
repeat
if (PathInfo.Name = '.') or (PathInfo.Name = '..') or
(PathInfo.Name = '') or ((PathInfo.Attr and faDirectory) = 0) or
(not AcceptDir(AppendPathDelim(ExpandFilenameUtf8(APath + PathInfo.Name))))
(not AcceptDir(ExpandFilenameUtf8(APath + PathInfo.Name)))
then
Continue;
if Assigned(VisitedDirs) then