From 7c26a69c73ffedbeaa3c1bfa682001bb5ac595cd Mon Sep 17 00:00:00 2001 From: mattias Date: Fri, 4 Aug 2023 23:30:17 +0200 Subject: [PATCH] ide: pass star * dir as separate paths to fpc --- ide/compileroptions.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ide/compileroptions.pp b/ide/compileroptions.pp index 68b0b621fe..1285d69998 100644 --- a/ide/compileroptions.pp +++ b/ide/compileroptions.pp @@ -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);