From: Arun Prakash Jana Date: Wed, 13 Jul 2022 15:50:05 +0000 (+0530) Subject: Fix double order chars on filter case match change X-Git-Tag: v4.6~17 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=db7cb4da1e6c6d9de08d7730a67eb61ccdcc8cfa;p=nnn.git Fix double order chars on filter case match change --- 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")); }