mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-19 11:00:24 +02:00
IDE: clean up
git-svn-id: trunk@45924 -
This commit is contained in:
parent
1df8ac1f8d
commit
9b158e4a05
@ -1098,8 +1098,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
Result:=TrimFilename(Result);
|
Result:=TrimFilename(Result);
|
||||||
if not FilenameIsAbsolute(Result) then begin
|
if not FilenameIsAbsolute(Result) then begin
|
||||||
LazDir:='$(LazarusDir)';
|
LazDir:=EnvironmentOptions.GetParsedLazarusDirectory;
|
||||||
IDEMacros.SubstituteMacros(LazDir);
|
|
||||||
Result:=TrimFilename(AppendPathDelim(LazDir)+Result);
|
Result:=TrimFilename(AppendPathDelim(LazDir)+Result);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user