mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 16:38:02 +02:00
TFileSearcher: don't add a pathdelimiter to the path when calling OnQueryDirectoryEnter.
This commit is contained in:
parent
558e9d1a58
commit
c95ec9df9f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user