소스 검색

Add comments

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

+ 2
- 0
src/nnn.c 파일 보기

@@ -1884,9 +1884,11 @@ static char *unescape(const char *str, uint maxcols)

if (maxcols) {
len = lencount = wcswidth(wbuf, len);
/* Reduce nuber of wide chars to max columns */
if (len > maxcols)
lencount = maxcols + 1;

/* Reduce wide chars one by one till it fits */
while (len > maxcols)
len = wcswidth(wbuf, --lencount);



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