summaryrefslogtreecommitdiffstats
path: root/apps/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 2ba4585047..e4c6110040 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -279,7 +279,7 @@ static int showdir(void)
}
else {
if (strncmp(tc.currdir, lastdir, sizeof(lastdir)) || reload_dir) {
- if (ft_load(&tc) < 0)
+ if (ft_load(&tc, NULL) < 0)
return -1;
strcpy(lastdir, tc.currdir);
newdir = true;
@@ -499,7 +499,7 @@ static bool ask_resume(bool ask_once)
void resume_directory(const char *dir)
{
strcpy(tc.currdir, dir);
- if (!ft_load(&tc))
+ if (ft_load(&tc, NULL) < 0)
return;
lastdir[0] = 0;
@@ -602,7 +602,7 @@ static bool check_changed_id3mode(bool currmode)
db_load(&tc);
}
else
- ft_load(&tc);
+ ft_load(&tc, NULL);
}
return currmode;
}