nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 3d9905615da3304cb02a3daa010fe5f7e7003752
parent 267dc04f6c2df2f46860babedc369727956aca2d
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Sun, 29 Mar 2020 20:26:31 +0530

Fix crash

Diffstat:
Msrc/nnn.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/nnn.c b/src/nnn.c @@ -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