mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 00:02:03 +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
|
repeat
|
||||||
if (PathInfo.Name = '.') or (PathInfo.Name = '..') or
|
if (PathInfo.Name = '.') or (PathInfo.Name = '..') or
|
||||||
(PathInfo.Name = '') or ((PathInfo.Attr and faDirectory) = 0) or
|
(PathInfo.Name = '') or ((PathInfo.Attr and faDirectory) = 0) or
|
||||||
(not AcceptDir(AppendPathDelim(ExpandFilenameUtf8(APath + PathInfo.Name))))
|
(not AcceptDir(ExpandFilenameUtf8(APath + PathInfo.Name)))
|
||||||
then
|
then
|
||||||
Continue;
|
Continue;
|
||||||
if Assigned(VisitedDirs) then
|
if Assigned(VisitedDirs) then
|
||||||
|
Loading…
Reference in New Issue
Block a user