From a87be622049622b4a9af411f7cbd552cd7860a43 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Wed, 22 Jan 2020 00:00:33 +0530 Subject: Use indicative dir names when creating --- src/nnn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/nnn.c') diff --git a/src/nnn.c b/src/nnn.c index e0edcf2..1d6fbf6 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -5796,7 +5796,7 @@ static bool setup_config(void) xstrlcpy(plugindir, cfgdir, len); DPRINTF_S(plugindir); - if (!xmktree(cfgdir, TRUE)) { + if (!xmktree(plugindir, TRUE)) { xerror(); return FALSE; } @@ -5808,7 +5808,7 @@ static bool setup_config(void) xstrlcpy(sessiondir, cfgdir, len); DPRINTF_S(sessiondir); - if (!xmktree(cfgdir, TRUE)) { + if (!xmktree(sessiondir, TRUE)) { xerror(); return FALSE; } -- cgit v1.2.3-70-g09d2