From f27e93fba034a73d4031f81848fb6f47bb11285b Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Thu, 3 Jun 2021 03:15:09 +0530 Subject: [PATCH] Fix #1041 --- src/nnn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nnn.c b/src/nnn.c index ebd2985a..6e5b280d 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -7219,7 +7219,7 @@ nochange: if (r == 's') { tmp = xreadline(NULL, messages[MSG_SSN_NAME]); if (tmp && *tmp) - save_session(FALSE, &presel); + save_session(tmp, &presel); } else if (r == 'l' || r == 'r') { if (load_session(NULL, &path, &lastdir, &lastname, r == 'r')) { setdirwatch();