summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-03-11 08:18:28 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-03-11 08:18:28 +0000
commitd3a7244645f1afbf9febd83449853b4a2e04c91a (patch)
tree517166853832aa64e11e6e7ae14c1d2a065637e4 /apps
parent6c3a875ec7075800d7c48269fedefaecbf5b67a3 (diff)
downloadrockbox-d3a7244645f1afbf9febd83449853b4a2e04c91a.zip
rockbox-d3a7244645f1afbf9febd83449853b4a2e04c91a.tar.gz
rockbox-d3a7244645f1afbf9febd83449853b4a2e04c91a.tar.bz2
rockbox-d3a7244645f1afbf9febd83449853b4a2e04c91a.tar.xz
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
Diffstat (limited to 'apps')
-rw-r--r--apps/tree.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/tree.c b/apps/tree.c
index f8459ee..b7ad02a 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)