mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-13 08:09:22 +02:00
codetools: fixed search for fppkg sources, bug #29154
git-svn-id: branches/fixes_1_6@50714 -
This commit is contained in:
parent
6130557ef5
commit
ca42e581e6
@ -1904,7 +1904,7 @@ function GatherUnitSourcesInDirectory(Directory: string; MaxLevel: integer
|
||||
Filename: String;
|
||||
AnUnitName: String;
|
||||
begin
|
||||
if FindFirstUTF8(Directory+AllFilesMask,faAnyFile,Info)=0 then begin
|
||||
if FindFirstUTF8(Dir+AllFilesMask,faAnyFile,Info)=0 then begin
|
||||
repeat
|
||||
Filename:=Info.Name;
|
||||
if (Filename='') or (Filename='.') or (Filename='..') then continue;
|
||||
|
Loading…
Reference in New Issue
Block a user