codetools: fixed search for fppkg sources, bug #29154

git-svn-id: branches/fixes_1_6@50714 -
This commit is contained in:
mattias 2015-12-08 21:19:21 +00:00
parent 6130557ef5
commit ca42e581e6

View File

@ -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;