瀏覽代碼

Add comments

master
Arun Prakash Jana 5 年之前
父節點
當前提交
cf0ea993df
沒有發現已知的金鑰在資料庫的簽署中 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);



Loading…
取消
儲存