diff options
author | 2019-03-03 00:38:37 +0530 | |
---|---|---|
committer | 2019-03-03 00:38:37 +0530 | |
commit | 602ec0e41b684d9ccb4020031b2fd8899edc926d (patch) | |
tree | 90d694628c2367b5088fe7ef1ea429984d2080ff /src/nnn.c | |
parent | 36cd5b72a5f2ca6d396c44145f9186993149f4d6 (diff) | |
download | nnn-602ec0e41b684d9ccb4020031b2fd8899edc926d.tar.gz |
Fix selection archive
Diffstat (limited to 'src/nnn.c')
-rw-r--r-- | src/nnn.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -3670,8 +3670,9 @@ nochange: goto nochange; } - r == 's' ? archive_selection(tmp, path) - : spawn(utils[APACK], tmp, dents[cur].name, path, F_NORMAL); + (r == 'y' || r == 'Y') ? archive_selection(tmp, path) + : spawn(utils[APACK], tmp, dents[cur].name, + path, F_NORMAL); break; case SEL_OPENWITH: dir = NULL; |