瀏覽代碼

Fix build break

master
Arun Prakash Jana 4 年之前
父節點
當前提交
cb9e785145
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: A75979F35C080412
共有 1 個文件被更改,包括 5 次插入11 次删除
  1. +5
    -11
      src/nnn.c

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

@@ -5781,20 +5781,14 @@ nochange:
case SEL_CDBEGIN: // fallthrough
case SEL_CDLAST: // fallthrough
case SEL_CDROOT:
switch (sel) {
case SEL_CDHOME:
if (sel == SEL_CDHOME)
dir = home;
break;
case SEL_CDBEGIN:
else if (sel == SEL_CDBEGIN)
dir = ipath;
break;
case SEL_CDLAST:
else if (sel == SEL_CDLAST)
dir = lastdir;
break;
default: /* SEL_CDROOT */
dir = "/";
break;
}
else
dir = "/"; /* SEL_CDROOT */

if (!dir || !*dir) {
printwait(messages[MSG_NOT_SET], &presel);


Loading…
取消
儲存