mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-03 05:21:14 +02:00
LCL: use ReadAllLinks to implement cleared ofNoDereferenceLinks flag, fixes part of 12479
git-svn-id: trunk@17143 -
This commit is contained in:
parent
ad6608e616
commit
9744da98be
@ -140,11 +140,11 @@ procedure TOpenDialog.DereferenceLinks;
|
||||
var i: integer;
|
||||
begin
|
||||
if Filename<>'' then
|
||||
Filename:=ExpandFileNameUTF8(Filename);
|
||||
FileName := ReadAllLinks(FileName, false);
|
||||
if Files<>nil then begin
|
||||
for i:=0 to Files.Count-1 do begin
|
||||
if Files[i]<>'' then
|
||||
Files[i]:=ExpandFileNameUTF8(Files[i]);
|
||||
Files[i]:=ReadAllLinks(Files[i], false);
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user