瀏覽代碼

Fix filterfn not in sync with cfg.regex

master
Arun Prakash Jana 5 年之前
父節點
當前提交
c1f88d00ff
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: A75979F35C080412
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/nnn.c

+ 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;
}


Loading…
取消
儲存