소스 검색

Use custom abs()

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

+ 4
- 2
nnn.c 파일 보기

@@ -3477,8 +3477,10 @@ main(int argc, char *argv[])

/* Get screensaver wait time, if set; copier used as tmp var */
copier = getenv("NNN_IDLE_TIMEOUT");
if (copier)
idletimeout = abs(atoi(copier));
if (copier) {
opt = atoi(copier);
idletimeout = opt * ((opt > 0) - (opt < 0));
}

/* Get the default copier, if set */
copier = getenv("NNN_COPIER");


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