Repository :
https://github.com/FarGroup/FarManager
On branch : master
Link :
https://github.com/FarGroup/FarManager/commit/67fe65d19e038cebea1a05f080e5db8b32291519
>---------------------------------------------------------------
commit 67fe65d19e038cebea1a05f080e5db8b32291519
Author: Alex Alabuzhev <
alab...@gmail.com>
Date: Mon Dec 8 08:27:12 2025 +0000
Correction of 6614
>---------------------------------------------------------------
67fe65d19e038cebea1a05f080e5db8b32291519
far/changelog | 5 +++++
far/main.cpp | 7 ++++++-
far/vbuild.m4 | 2 +-
3 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/far/changelog b/far/changelog
index 3ec8e84e4..8e66e5346 100644
--- a/far/changelog
+++ b/far/changelog
@@ -1,3 +1,8 @@
+--------------------------------------------------------------------------------
+drkns 2025-12-08 08:26:49+00:00 - build 6614
+
+1. Correction of 6614.
+
--------------------------------------------------------------------------------
drkns 2025-12-07 11:20:04+00:00 - build 6613
diff --git a/far/main.cpp b/far/main.cpp
index 3740a86a8..f15544640 100644
--- a/far/main.cpp
+++ b/far/main.cpp
@@ -214,7 +214,12 @@ static int MainProcess(
const auto SetupPanel = [&](bool active)
{
- string strPath(path::parent_path(active? apanel : ppanel));
+ string strPath = active? apanel : ppanel;
+ if (active? IsFileA : IsFileP)
+ {
+ CutToParent(strPath);
+ }
+
bool Root = false;
const auto Type = ParsePath(strPath, nullptr, &Root);
if(Root && (Type == root_type::drive_letter || Type == root_type::win32nt_drive_letter || Type == root_type::volume))
diff --git a/far/vbuild.m4 b/far/vbuild.m4
index f42a79915..b41135939 100644
--- a/far/vbuild.m4
+++ b/far/vbuild.m4
@@ -1 +1 @@
-6613
+6614