From 6973ed37a7f407850c492b53a66dbf34a502b75a Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Thu, 27 Dec 2018 00:26:56 +0530 Subject: Fix open with --- src/nnn.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/nnn.c b/src/nnn.c index 55ee962..400ecc9 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -3269,6 +3269,7 @@ nochange: spawn(utils[APACK], tmp, dents[cur].name, path, F_NORMAL); break; case SEL_OPENWITH: + dir = NULL; getprogarg(tmp, &dir); /* dir used as tmp var */ mkpath(path, dents[cur].name, newpath, PATH_MAX); spawn(tmp, dir, newpath, path, r); -- cgit v1.2.3-70-g09d2