소스 검색
Fix filterfn not in sync with cfg.regex
master
Arun Prakash Jana
5 년 전
No known key found for this signature in database
GPG 키 ID: A75979F35C080412
1개의 변경된 파일과
1개의 추가작업 그리고
1개의 파일을 삭제
-
src/nnn.c
|
|
@@ -2638,7 +2638,7 @@ static int filterentries(char *path, char *lastname) |
|
|
|
ln[0] = (ln[0] == FILTER) ? RFILTER : FILTER; |
|
|
|
wln[0] = (uchar)ln[0]; |
|
|
|
cfg.regex ^= 1; |
|
|
|
filterfn = (filterfn == &visible_str) ? &visible_re : &visible_str; |
|
|
|
filterfn = cfg.regex ? &visible_re : &visible_str; |
|
|
|
showfilter(ln); |
|
|
|
continue; |
|
|
|
} |
|
|
|