From 551e9ca7e5b4105bc1abedfc2635b99acc12e911 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Tue, 18 Aug 2020 13:15:21 +0530 Subject: [PATCH] Fix #704 --- src/nnn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nnn.c b/src/nnn.c index 2bda5c80..4a6a5a6e 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -6382,7 +6382,7 @@ nochange: copycurname(); goto nochange; case SEL_EDIT: - spawn(editor, pdents[cur].name, NULL, F_CLI); + spawn(editor, newpath, NULL, F_CLI); continue; default: /* SEL_LOCK */ lock_terminal();