From 11188f6e057462466f7724f1069dd217991ea07e Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Tue, 24 Sep 2024 20:00:22 +0530 Subject: [PATCH] Add 1 character extra --- src/nnn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nnn.c b/src/nnn.c index 15568eabb..27470c74e 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -3266,7 +3266,7 @@ static int getorderstr(char *sort) static void showfilterinfo(void) { int i = 0; - char info[REGEX_MAX] = "\0\0\0\0\0"; + char info[REGEX_MAX] = "\0\0\0\0\0\0"; i = getorderstr(info); @@ -6498,7 +6498,7 @@ static void statusbar(char *path) (cfg.apparentsz ? 'a' : 'd'), buf, coolsize(get_fs_info(path, VFS_AVAIL)), num_files, (ullong_t)pent->blocks << blk_shift, ptr); } else { /* light or detail mode */ - char sort[] = "\0\0\0\0\0"; + char sort[] = "\0\0\0\0\0\0"; if (getorderstr(sort)) addstr(sort);