]> Sergey Matveev's repositories - nnn.git/commitdiff
Selection should not be blocked if no files
authorArun Prakash Jana <engineerarun@gmail.com>
Sat, 8 Dec 2018 09:24:56 +0000 (14:54 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Sat, 8 Dec 2018 09:24:56 +0000 (14:54 +0530)
src/nnn.c

index 0591c07b4babf0da67a2062fc05fcfc548fd0392..682e9aa5e8c7d8d551ae0234647e2ee31cb6f224 100644 (file)
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -3090,9 +3090,6 @@ nochange:
                        printmsg(newpath);
                        goto nochange;
                case SEL_COPYMUL:
-                       if (!ndents)
-                               goto nochange;
-
                        cfg.copymode ^= 1;
                        if (cfg.copymode) {
                                g_crc = crc8fast((uchar *)dents, ndents * sizeof(struct entry));