From 38ab1f845f34841859bfad5ee8aacbe8839718e6 Mon Sep 17 00:00:00 2001 From: zagor Date: Tue, 25 Jan 2005 08:55:21 +0000 Subject: [PATCH] Fixed another cause of 'stuck in subdir' bug. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5659 a1c6a512-1295-4272-9138-f99709370657 --- apps/tree.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/tree.c b/apps/tree.c index 65565f2d0..7c21dfecd 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -498,8 +498,7 @@ static bool ask_resume(bool ask_once) /* load tracks from specified directory to resume play */ void resume_directory(const char *dir) { - strcpy(tc.currdir, dir); - if (ft_load(&tc, NULL) < 0) + if (ft_load(&tc, dir) < 0) return; lastdir[0] = 0; -- 2.11.4.GIT