summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2005-01-18 23:07:23 +0000
committerBjörn Stenberg <bjorn@haxx.se>2005-01-18 23:07:23 +0000
commitf2758d18848c3e39533d5fe034ee781803202819 (patch)
tree7683b479a6839d245ae28d2f652e1ec24c2a7448 /apps
parentea1188ce8c7053e191dd665c4036df849e19d2fe (diff)
downloadrockbox-f2758d18848c3e39533d5fe034ee781803202819.tar.gz
rockbox-f2758d18848c3e39533d5fe034ee781803202819.tar.bz2
rockbox-f2758d18848c3e39533d5fe034ee781803202819.zip
Fixed plugin-browser-shows-id3db bug
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5598 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 06aabb7d36..438e2f5ff1 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -248,7 +248,7 @@ static int showdir(void)
int i;
int tree_max_on_screen;
int start = tc.dirstart;
- bool id3db = global_settings.dirfilter == SHOW_ID3DB;
+ bool id3db = *tc.dirfilter == SHOW_ID3DB;
bool newdir = false;
#ifdef HAVE_LCD_BITMAP
const char* icon;
@@ -626,7 +626,7 @@ static bool dirbrowse(void)
has been refreshed on screen */
int lastbutton = 0;
char* currdir = tc.currdir; /* just a shortcut */
- bool id3db = global_settings.dirfilter == SHOW_ID3DB;
+ bool id3db = *tc.dirfilter == SHOW_ID3DB;
#ifdef HAVE_LCD_BITMAP
tree_max_on_screen = recalc_screen_height();