Selaa lähdekoodia

Fix filterfn not in sync with cfg.regex

master
Arun Prakash Jana 5 vuotta sitten
vanhempi
commit
c1f88d00ff
No known key found for this signature in database GPG Key ID: A75979F35C080412
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      src/nnn.c

+ 1
- 1
src/nnn.c Näytä tiedosto

@@ -2638,7 +2638,7 @@ static int filterentries(char *path, char *lastname)
ln[0] = (ln[0] == FILTER) ? RFILTER : FILTER; ln[0] = (ln[0] == FILTER) ? RFILTER : FILTER;
wln[0] = (uchar)ln[0]; wln[0] = (uchar)ln[0];
cfg.regex ^= 1; cfg.regex ^= 1;
filterfn = (filterfn == &visible_str) ? &visible_re : &visible_str; filterfn = cfg.regex ? &visible_re : &visible_str;
showfilter(ln); showfilter(ln);
continue; continue;
} }


||||||
x
 
000:0
Loading…
Peruuta
Tallenna