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,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: