diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2020-01-17 20:26:14 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2020-01-17 20:26:14 +0530 |
commit | 5f18a0892c222f5efe28938c65d9a1ee8544b5a0 (patch) | |
tree | 7e3b887d773f1b99fd65b632995799f96a620896 /src/nnn.c | |
parent | 679374680fa8b961a30e5af47b779153f32734ad (diff) | |
download | nnn-5f18a0892c222f5efe28938c65d9a1ee8544b5a0.tar.gz |
Clear lastname is the top file is deleted
Diffstat (limited to 'src/nnn.c')
-rw-r--r-- | src/nnn.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |