Fix open with

This commit is contained in:
Arun Prakash Jana 2018-12-27 00:26:56 +05:30
parent 4b717b1920
commit 6973ed37a7
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -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);