aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nnn.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nnn.c b/nnn.c
index abb90b5..938be28 100644
--- a/nnn.c
+++ b/nnn.c
@@ -1077,9 +1077,9 @@ filterentries(char *path)
wcstombs(ln, wln, REGEX_MAX);
ndents = total;
- if (matches(pln) == -1)
- continue;
- redraw(path);
+ if (matches(pln) != -1)
+ redraw(path);
+
printprompt(ln);
continue;
}