Skip to content

Commit

Permalink
Add 1 character extra
Browse files Browse the repository at this point in the history
  • Loading branch information
jarun committed Sep 24, 2024
1 parent e7b0974 commit 11188f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nnn.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 11188f6

Please sign in to comment.