ide: pass star * dir as separate paths to fpc

This commit is contained in:
mattias 2023-08-04 23:30:17 +02:00
parent 13fd89ae20
commit 7c26a69c73

View File

@ -944,7 +944,7 @@ begin
CurPath:=copy(Paths,StartPos,EndPos-StartPos);
StartPos:=EndPos+1;
Kind:=IsCTStarDirectory(CurPath,p);
if Kind=ctsdStarStar then
if Kind in [ctsdStar,ctsdStarStar] then
begin
Delete(CurPath,p+1,length(CurPath));
IsRelative:=not FilenameIsAbsolute(CurPath);