nnn

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

commit 49f21ae0139e54c0c8467ee439269f720f62c9bb
parent 4baee859f8763ed0ca3703ac3e5ab0d291149aed
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Sat, 11 Jun 2022 06:05:57 +0530

Fix segfault when last dir is not set

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

diff --git a/src/nnn.c b/src/nnn.c @@ -7143,7 +7143,7 @@ nochange: } if (strcmp(path, newpath) == 0) { - if (bookmark) + if (bookmark || !*lastdir) break; dir = lastdir; /* Go to last dir on bookmark key repeat */