mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-15 14:29:31 +02:00
IDE: fixed checking symlinks for non existing files
git-svn-id: trunk@15808 -
This commit is contained in:
parent
361831a886
commit
2573f41a30
@ -471,6 +471,7 @@ function ChooseSymlink(var Filename: string): TModalResult;
|
||||
var
|
||||
TargetFilename: String;
|
||||
begin
|
||||
if not FileExists(Filename) then exit(mrOk);
|
||||
Result:=mrCancel;
|
||||
try
|
||||
TargetFilename:=ReadAllLinks(Filename,true);
|
||||
|
Loading…
Reference in New Issue
Block a user