mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 13:51:31 +00:00
Fix #1041
This commit is contained in:
parent
ccce80a1e9
commit
f27e93fba0
|
@ -7219,7 +7219,7 @@ nochange:
|
||||||
if (r == 's') {
|
if (r == 's') {
|
||||||
tmp = xreadline(NULL, messages[MSG_SSN_NAME]);
|
tmp = xreadline(NULL, messages[MSG_SSN_NAME]);
|
||||||
if (tmp && *tmp)
|
if (tmp && *tmp)
|
||||||
save_session(FALSE, &presel);
|
save_session(tmp, &presel);
|
||||||
} else if (r == 'l' || r == 'r') {
|
} else if (r == 'l' || r == 'r') {
|
||||||
if (load_session(NULL, &path, &lastdir, &lastname, r == 'r')) {
|
if (load_session(NULL, &path, &lastdir, &lastname, r == 'r')) {
|
||||||
setdirwatch();
|
setdirwatch();
|
||||||
|
|
Loading…
Reference in a new issue