diff options
Diffstat (limited to 'src/nnn.c')
-rw-r--r-- | src/nnn.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5877,7 +5877,7 @@ nochange: if (access(newpath, F_OK) == 0) /* File not removed */ continue; - if (ndents) { + if (cur) { cur += (cur != (ndents - 1)) ? 1 : -1; copycurname(); } else |