nnn

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

commit 5f18a0892c222f5efe28938c65d9a1ee8544b5a0
parent 679374680fa8b961a30e5af47b779153f32734ad
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Fri, 17 Jan 2020 20:26:14 +0530

Clear lastname is the top file is deleted

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

diff --git a/src/nnn.c b/src/nnn.c @@ -5279,7 +5279,8 @@ nochange: if (cur && access(newpath, F_OK) == -1) { move_cursor(cur - 1, 0); copycurname(); - } + } else + lastname[0] = '\0'; if (cfg.filtermode) presel = FILTER;