mirror of
https://github.com/jarun/nnn.git
synced 2025-03-18 20:39:45 +00:00
Fix broken abort msg when starting in du mode
This commit is contained in:
parent
39fffbac56
commit
c5d122e299
1 changed files with 3 additions and 0 deletions
|
@ -4862,6 +4862,9 @@ static bool browse(char *ipath, const char *session)
|
||||||
|
|
||||||
atexit(dentfree);
|
atexit(dentfree);
|
||||||
|
|
||||||
|
xlines = LINES;
|
||||||
|
xcols = COLS;
|
||||||
|
|
||||||
/* setup first context */
|
/* setup first context */
|
||||||
if (!session || !load_session(session, &path, &lastdir, &lastname, FALSE)) {
|
if (!session || !load_session(session, &path, &lastdir, &lastname, FALSE)) {
|
||||||
xstrlcpy(g_ctx[0].c_path, ipath, PATH_MAX); /* current directory */
|
xstrlcpy(g_ctx[0].c_path, ipath, PATH_MAX); /* current directory */
|
||||||
|
|
Loading…
Add table
Reference in a new issue