mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Crash on viewing directory symlink on Linux (fixes #1942)
(cherry picked from commit 8e7dcd1477)
This commit is contained in:
parent
a0c6cbc964
commit
02383cc688
1 changed files with 5 additions and 0 deletions
|
|
@ -747,6 +747,11 @@ begin
|
|||
|
||||
dwFileAttributes := mbFileGetAttr(aFileName);
|
||||
|
||||
if FPS_ISLNK(dwFileAttributes) then
|
||||
begin
|
||||
dwFileAttributes := mbFileGetAttrNoLinks(aFileName);
|
||||
end;
|
||||
|
||||
if dwFileAttributes = faInvalidAttributes then
|
||||
begin
|
||||
ActivatePanel(pnlFolder);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue