Browse Source

Fix always archiving current file (#396)

master
KlzXS Mischievous Meerkat 5 years ago
parent
commit
809b1885fb
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/nnn.c

+ 3
- 3
src/nnn.c View File

@@ -5043,9 +5043,9 @@ nochange:


get_archive_cmd(cmd, tmp); 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; break;
} }
case SEL_OPENWITH: case SEL_OPENWITH:


Loading…
Cancel
Save