浏览代码

Code refactor

master
Arun Prakash Jana 5 年前
父节点
当前提交
735b3d6cde
找不到此签名对应的密钥 GPG 密钥 ID: A75979F35C080412
共有 1 个文件被更改,包括 5 次插入9 次删除
  1. +5
    -9
      src/nnn.c

+ 5
- 9
src/nnn.c 查看文件

@@ -5400,21 +5400,17 @@ nochange:
case SEL_SESSIONS:
r = get_input(messages[MSG_SSN_OPTS]);

if (r == 's') {
if (r == 's')
save_session(FALSE, &presel);
goto nochange;
}

if (r == 'l' || r == 'r') {
else if (r == 'l' || r == 'r') {
if (load_session(NULL, &path, &lastdir, &lastname, r == 'r')) {
setdirwatch();
goto begin;
}

presel = MSGWAIT;
goto nochange;
}
break;

clearprompt();
goto nochange;
case SEL_QUITCTX: // fallthrough
case SEL_QUITCD: // fallthrough
case SEL_QUIT:


正在加载...
取消
保存