nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 86648ab391483cb72308a5035c55d6ca55b01254
parent 46294e9f3d613fb56d381e1637af6c0d7c30e9e4
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Tue, 17 Aug 2021 01:03:28 +0530

Fix length

Diffstat:
Msrc/nnn.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/nnn.c b/src/nnn.c @@ -7972,12 +7972,12 @@ static bool setup_config(void) return FALSE; } - len = xstrlen(xdgcfg) + 1 + 13; /* add length of "/nnn/sessions" */ + len = xstrlen(xdgcfg) + 1 + 14; /* add length of "/nnn/bookmarks" */ xdg = TRUE; } if (!xdg) - len = xstrlen(home) + 1 + 21; /* add length of "/.config/nnn/sessions" */ + len = xstrlen(home) + 1 + 22; /* add length of "/.config/nnn/bookmarks" */ cfgpath = (char *)malloc(len); plgpath = (char *)malloc(len);