ソースを参照

Fix build break

master
Arun Prakash Jana 4年前
コミット
cb9e785145
この署名に対応する既知のキーがデータベースに存在しません GPGキー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);


読み込み中…
キャンセル
保存