mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-15 11:49:55 +02:00
ide: RemoveNonExistingPaths: check star dirs
This commit is contained in:
parent
1138fe154d
commit
13fd89ae20
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user