aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-08-18 13:15:21 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-08-18 13:15:21 +0530
commit551e9ca7e5b4105bc1abedfc2635b99acc12e911 (patch)
tree2fbf7cc283f9b780c985c4f31689385351ec10a6
parent351ddb1dd7fd9a8c8afc1594a1fcba1b41523b74 (diff)
downloadnnn-551e9ca7e5b4105bc1abedfc2635b99acc12e911.tar.gz
Fix #704
-rw-r--r--src/nnn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 2bda5c8..4a6a5a6 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();