mirror of
https://github.com/jarun/nnn.git
synced 2025-02-26 03:01:32 +00:00
Fix crash
This commit is contained in:
parent
267dc04f6c
commit
3d9905615d
1 changed files with 1 additions and 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
|
||||
|
|
Loading…
Add table
Reference in a new issue