commit 602ec0e41b684d9ccb4020031b2fd8899edc926d
parent 36cd5b72a5f2ca6d396c44145f9186993149f4d6
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date: Sun, 3 Mar 2019 00:38:37 +0530
Fix selection archive
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/nnn.c b/src/nnn.c
@@ -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;