summaryrefslogtreecommitdiff
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
parent6c3a875ec7075800d7c48269fedefaecbf5b67a3 (diff)
downloadrockbox-d3a7244645f1afbf9febd83449853b4a2e04c91a.tar.gz
rockbox-d3a7244645f1afbf9febd83449853b4a2e04c91a.zip
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
-rw-r--r--apps/tree.c7
1 files changed, 7 insertions, 0 deletions
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)
563 char *name; 563 char *name;
564 unsigned int i; 564 unsigned int i;
565 565
566 /* in ID3DB mode it is a bad idea to call this function */
567 /* (only happens with `follow playlist') */
568 if( *tc.dirfilter == SHOW_ID3DB )
569 {
570 return;
571 }
572
566 /* separate directory from filename */ 573 /* separate directory from filename */
567 name = strrchr(path+1,'/'); 574 name = strrchr(path+1,'/');
568 if (name) 575 if (name)