diff options
author | Björn Stenberg <bjorn@haxx.se> | 2005-01-18 22:50:47 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2005-01-18 22:50:47 +0000 |
commit | cdd79a35d40b314a723752cd40eb03ece79620b9 (patch) | |
tree | ff31772a603d41fc1f70ce84ea895493d1e82d14 /apps/tree.c | |
parent | 84c7d8802106266c94d0a30827dff418a2fcac6d (diff) |
Repaired broken resume
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5596 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tree.c')
-rw-r--r-- | apps/tree.c | 6 |
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; } |