aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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();