aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/nnn.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/nnn.c b/src/nnn.c
index f7d67e9..8c24953 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -2622,12 +2622,8 @@ static int filterentries(char *path, char *lastname)
/* Reset cur in case it's a repeat search */
cur = 0;
- } else if (len == REGEX_MAX - 1) {
- printmsg(messages[MSG_LIMIT]);
- xdelay(XDELAY_INTERVAL_MS);
- *ch = MSGWAIT;
- break;
- }
+ } else if (len == REGEX_MAX - 1)
+ continue;
wln[len] = (wchar_t)*ch;
wln[++len] = '\0';