浏览代码

Fix #511: chew ling strings at filter prompt

master
Arun Prakash Jana 5 年前
父节点
当前提交
46f17885ce
找不到此签名对应的密钥 GPG 密钥 ID: A75979F35C080412
共有 1 个文件被更改,包括 2 次插入6 次删除
  1. +2
    -6
      src/nnn.c

+ 2
- 6
src/nnn.c 查看文件

@@ -2622,12 +2622,8 @@ static int filterentries(char *path, char *lastname)

/* Reset cur in case it's a repeat search */
cur = 0;
} else if (len == REGEX_MAX - 1) {
printmsg(messages[MSG_LIMIT]);
xdelay(XDELAY_INTERVAL_MS);
*ch = MSGWAIT;
break;
}
} else if (len == REGEX_MAX - 1)
continue;

wln[len] = (wchar_t)*ch;
wln[++len] = '\0';


||||||
x
 
000:0
正在加载...
取消
保存