mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Use indicative dir names when creating
This commit is contained in:
parent
8d6f766e75
commit
a87be62204
|
@ -5796,7 +5796,7 @@ static bool setup_config(void)
|
||||||
xstrlcpy(plugindir, cfgdir, len);
|
xstrlcpy(plugindir, cfgdir, len);
|
||||||
DPRINTF_S(plugindir);
|
DPRINTF_S(plugindir);
|
||||||
|
|
||||||
if (!xmktree(cfgdir, TRUE)) {
|
if (!xmktree(plugindir, TRUE)) {
|
||||||
xerror();
|
xerror();
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
@ -5808,7 +5808,7 @@ static bool setup_config(void)
|
||||||
xstrlcpy(sessiondir, cfgdir, len);
|
xstrlcpy(sessiondir, cfgdir, len);
|
||||||
DPRINTF_S(sessiondir);
|
DPRINTF_S(sessiondir);
|
||||||
|
|
||||||
if (!xmktree(cfgdir, TRUE)) {
|
if (!xmktree(sessiondir, TRUE)) {
|
||||||
xerror();
|
xerror();
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue