]> Sergey Matveev's repositories - nnn.git/commitdiff
Fix double order chars on filter case match change
authorArun Prakash Jana <engineerarun@gmail.com>
Wed, 13 Jul 2022 15:50:05 +0000 (21:20 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Mon, 18 Jul 2022 12:58:15 +0000 (18:28 +0530)
src/nnn.c

index 9844935e567e23f021433dc7085a4e189dd16592..9eb91396f2d19459d80b54013f6ad7a1aa3e2e0d 100644 (file)
--- 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"));
        }