Fix crash

This commit is contained in:
Arun Prakash Jana 2020-03-29 20:26:31 +05:30
parent 267dc04f6c
commit 3d9905615d
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -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