mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
UPD: '..' returns the path that does not end with PathDelimiter #2924
This commit is contained in:
parent
39ef1ea0f3
commit
9781239310
1 changed files with 2 additions and 2 deletions
|
|
@ -900,9 +900,9 @@ begin
|
|||
rightFile:= frmMain.FrameRight.CloneActiveFile;
|
||||
// ".." should be interpreted as the parent directory
|
||||
if Assigned(leftFile) and (not leftFile.IsNameValid) then
|
||||
leftFile.Name:= EmptyStr;
|
||||
leftFile.FullPath:= leftFile.Path;
|
||||
if Assigned(rightFile) and (not rightFile.IsNameValid) then
|
||||
rightFile.Name:= EmptyStr;
|
||||
rightFile.FullPath:= rightFile.Path;
|
||||
|
||||
if frmMain.ActiveFrame = frmMain.FrameLeft then
|
||||
begin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue