mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Fix open with
This commit is contained in:
parent
4b717b1920
commit
6973ed37a7
|
@ -3269,6 +3269,7 @@ nochange:
|
||||||
spawn(utils[APACK], tmp, dents[cur].name, path, F_NORMAL);
|
spawn(utils[APACK], tmp, dents[cur].name, path, F_NORMAL);
|
||||||
break;
|
break;
|
||||||
case SEL_OPENWITH:
|
case SEL_OPENWITH:
|
||||||
|
dir = NULL;
|
||||||
getprogarg(tmp, &dir); /* dir used as tmp var */
|
getprogarg(tmp, &dir); /* dir used as tmp var */
|
||||||
mkpath(path, dents[cur].name, newpath, PATH_MAX);
|
mkpath(path, dents[cur].name, newpath, PATH_MAX);
|
||||||
spawn(tmp, dir, newpath, path, r);
|
spawn(tmp, dir, newpath, path, r);
|
||||||
|
|
Loading…
Reference in a new issue