summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2005-01-25 08:55:21 +0000
committerBjörn Stenberg <bjorn@haxx.se>2005-01-25 08:55:21 +0000
commita4e95ee2e661ffca3678a9ee18f37d0292327c41 (patch)
tree851d1ce53e662697e1eee71f81ff78d392a06d79 /apps/tree.c
parent14dd055a86dc73cd319b3a6a1bc29d11fb78066f (diff)
downloadrockbox-a4e95ee2e661ffca3678a9ee18f37d0292327c41.tar.gz
rockbox-a4e95ee2e661ffca3678a9ee18f37d0292327c41.zip
Fixed another cause of 'stuck in subdir' bug.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5659 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 65565f2d06..7c21dfecdf 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -498,8 +498,7 @@ static bool ask_resume(bool ask_once)
498/* load tracks from specified directory to resume play */ 498/* load tracks from specified directory to resume play */
499void resume_directory(const char *dir) 499void resume_directory(const char *dir)
500{ 500{
501 strcpy(tc.currdir, dir); 501 if (ft_load(&tc, dir) < 0)
502 if (ft_load(&tc, NULL) < 0)
503 return; 502 return;
504 lastdir[0] = 0; 503 lastdir[0] = 0;
505 504