mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: ExpandAbsolutePath when path ends with "/.".
This commit is contained in:
parent
7796356213
commit
e7b08daa42
1 changed files with 2 additions and 0 deletions
|
|
@ -746,6 +746,8 @@ begin
|
|||
Delete (Path, I, 2);
|
||||
I := Pos (DirectorySeparator + '.' + DirectorySeparator, Path);
|
||||
end;
|
||||
if StrEnds(Path, DirectorySeparator + '.') then
|
||||
Delete (Path, Length(Path) - 1, 2);
|
||||
|
||||
{Then remove all references to '\..\'}
|
||||
I := Pos (DirectorySeparator + '..', Path);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue