소스 검색

Fix build break

master
Arun Prakash Jana 4 년 전
부모
커밋
1fb1ab55a7
No known key found for this signature in database GPG 키 ID: A75979F35C080412
2개의 변경된 파일5개의 추가작업 그리고 9개의 파일을 삭제
  1. +1
    -1
      README.md
  2. +4
    -8
      src/nnn.c

+ 1
- 1
README.md 파일 보기

@@ -66,7 +66,7 @@ It runs smoothly on the Pi, [Termux](https://www.youtube.com/watch?v=AbaauM7gUJw
- Minimizes screen refresh with fast line redraws
- Tiny binary (typically less than 100KB)
- Portable
- Statically-linked binary available
- Static binary available (no need to install)
- Language-agnostic plugins
- Minimal library deps, easy to compile
- Compile in/out features with make variables


+ 4
- 8
src/nnn.c 파일 보기

@@ -5820,14 +5820,10 @@ nochange:
case SEL_CDBEGIN: // fallthrough
case SEL_CDLAST: // fallthrough
case SEL_CDROOT:
if (sel == SEL_CDHOME)
dir = home;
else if (sel == SEL_CDBEGIN)
dir = ipath;
else if (sel == SEL_CDLAST)
dir = lastdir;
else
dir = "/"; /* SEL_CDROOT */
dir = (sel == SEL_CDHOME) ? home
: ((sel == SEL_CDBEGIN) ? ipath
: ((sel == SEL_CDLAST) ? lastdir
: "/" /* SEL_CDROOT */));

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


불러오는 중...
취소
저장