]> Sergey Matveev's repositories - nnn.git/commitdiff
Fix #704
authorArun Prakash Jana <engineerarun@gmail.com>
Tue, 18 Aug 2020 07:45:21 +0000 (13:15 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Tue, 18 Aug 2020 07:45:21 +0000 (13:15 +0530)
src/nnn.c

index 2bda5c8067de6ab58d91b1c2bb02996ab75b6f02..4a6a5a6e63659ddea71eb0a9a768719f201f1a06 100644 (file)
--- 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();