aboutsummaryrefslogtreecommitdiffstats
path: root/src/nnn.c
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-01-22 00:00:33 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-01-22 00:00:33 +0530
commita87be622049622b4a9af411f7cbd552cd7860a43 (patch)
treecb70caaee962766cabcd2907bd9bc9c071fb2aac /src/nnn.c
parent8d6f766e75a4e0d4bb93b03562372848f12ea773 (diff)
downloadnnn-a87be622049622b4a9af411f7cbd552cd7860a43.tar.gz
Use indicative dir names when creating
Diffstat (limited to 'src/nnn.c')
-rw-r--r--src/nnn.c4
1 files changed, 2 insertions, 2 deletions
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;
}