From f2758d18848c3e39533d5fe034ee781803202819 Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Tue, 18 Jan 2005 23:07:23 +0000 Subject: Fixed plugin-browser-shows-id3db bug git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5598 a1c6a512-1295-4272-9138-f99709370657 --- apps/tree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/tree.c') 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(); -- cgit v1.2.3