Fixed plugin-browser-shows-id3db bug
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5598 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ea1188ce8c
commit
f2758d1884
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user