diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2020-03-29 20:26:31 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2020-03-29 20:26:31 +0530 |
commit | 3d9905615da3304cb02a3daa010fe5f7e7003752 (patch) | |
tree | 4c40557172af6542f977fa35951a70ac4abd27a7 /src | |
parent | 267dc04f6c2df2f46860babedc369727956aca2d (diff) | |
download | nnn-3d9905615da3304cb02a3daa010fe5f7e7003752.tar.gz |
Fix crash
Diffstat (limited to 'src')
-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 |