ide: RemoveNonExistingPaths: check star dirs

This commit is contained in:
mattias 2023-08-04 23:27:24 +02:00
parent 1138fe154d
commit 13fd89ae20

View File

@ -313,6 +313,10 @@ begin
if (CurPath<>'') and (not FilenameIsAbsolute(CurPath)) then
CurPath:=AppendPathDelim(BaseDirectory)+CurPath;
case ExtractFilename(CurPath) of
'*','**': CurPath:=ExtractFilePath(CurPath);
end;
if ((CurPath='') and (MacroStartPos<1))
or (not DirPathExistsCached(CurPath)) then begin
// path does not exist -> remove