From d3a7244645f1afbf9febd83449853b4a2e04c91a Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Fri, 11 Mar 2005 08:18:28 +0000 Subject: Fix for bug #1161173 by Mark A Hillebrand, disabled Follow Playlist in ID3 database mode git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6187 a1c6a512-1295-4272-9138-f99709370657 --- apps/tree.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'apps/tree.c') diff --git a/apps/tree.c b/apps/tree.c index f8459eea4a..b7ad02a4aa 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -563,6 +563,13 @@ void set_current_file(char *path) char *name; unsigned int i; + /* in ID3DB mode it is a bad idea to call this function */ + /* (only happens with `follow playlist') */ + if( *tc.dirfilter == SHOW_ID3DB ) + { + return; + } + /* separate directory from filename */ name = strrchr(path+1,'/'); if (name) -- cgit v1.2.3