Fix always archiving current file (#396)

This commit is contained in:
KlzXS 2019-12-04 13:55:41 +01:00 committed by Mischievous Meerkat
parent cc36aa8d49
commit 809b1885fb

View file

@ -5043,7 +5043,7 @@ nochange:
get_archive_cmd(cmd, tmp); get_archive_cmd(cmd, tmp);
(r == 'y' || r == 'Y') ? archive_selection(cmd, tmp, path) (r == 's') ? archive_selection(cmd, tmp, path)
: spawn(cmd, tmp, dents[cur].name, : spawn(cmd, tmp, dents[cur].name,
path, F_NORMAL | F_MULTI); path, F_NORMAL | F_MULTI);
break; break;