diff options
author | KlzXS <azszwymmvqdi@yahoo.com> | 2019-12-04 13:55:41 +0100 |
---|---|---|
committer | Mischievous Meerkat <engineerarun@gmail.com> | 2019-12-04 18:25:41 +0530 |
commit | 809b1885fb61b9f00d6c756966a131de9f2ad863 (patch) | |
tree | 511b1c8da9d9e6a1a1b18cde78d84190e7b715ce /src | |
parent | cc36aa8d49030e5b0d157166727cb8b1606949d2 (diff) | |
download | nnn-809b1885fb61b9f00d6c756966a131de9f2ad863.tar.gz |
Fix always archiving current file (#396)
Diffstat (limited to 'src')
-rw-r--r-- | src/nnn.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -5043,9 +5043,9 @@ nochange: get_archive_cmd(cmd, tmp); - (r == 'y' || r == 'Y') ? archive_selection(cmd, tmp, path) - : spawn(cmd, tmp, dents[cur].name, - path, F_NORMAL | F_MULTI); + (r == 's') ? archive_selection(cmd, tmp, path) + : spawn(cmd, tmp, dents[cur].name, + path, F_NORMAL | F_MULTI); break; } case SEL_OPENWITH: |