diff options
Diffstat (limited to 'src/nnn.c')
-rw-r--r-- | src/nnn.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1481,7 +1481,7 @@ static bool initcurses(void *oldmask) init_pair(i + 1, g_ctx[i].color, -1); - g_ctx[i].c_fltr[REGEX_MAX - 1] = '\0'; + memset(g_ctx[i].c_fltr, 0, REGEX_MAX); } settimeout(); /* One second */ |