diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-03-11 08:18:28 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-03-11 08:18:28 +0000 |
| commit | d3a7244645f1afbf9febd83449853b4a2e04c91a (patch) | |
| tree | 517166853832aa64e11e6e7ae14c1d2a065637e4 /apps | |
| parent | 6c3a875ec7075800d7c48269fedefaecbf5b67a3 (diff) | |
| download | rockbox-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.c | 7 |
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) |