From db7cb4da1e6c6d9de08d7730a67eb61ccdcc8cfa Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Wed, 13 Jul 2022 21:20:05 +0530 Subject: [PATCH] Fix double order chars on filter case match change --- src/nnn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nnn.c b/src/nnn.c index 9844935e..9eb91396 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -3152,7 +3152,7 @@ static void showfilterinfo(void) if (cfg.fileinfo && ndents && get_output("file", "-b", pdents[cur].name, -1, FALSE, FALSE)) mvaddstr(xlines - 2, 2, g_buf); else { - snprintf(info + i, REGEX_MAX - i - 1, " %s [/], %s [:]", + snprintf(info + i, REGEX_MAX - i - 1, " %s [/], %4s [:]", (cfg.regex ? "reg" : "str"), ((fnstrstr == &strcasestr) ? "ic" : "noic")); } -- 2.48.1