Browse Source

Fix filterfn not in sync with cfg.regex

master
Arun Prakash Jana 4 years ago
parent
commit
c1f88d00ff
No known key found for this signature in database GPG Key ID: A75979F35C080412
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/nnn.c

+ 1
- 1
src/nnn.c View File

@@ -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…
Cancel
Save