diff options
Diffstat (limited to 'apps/tree.c')
-rw-r--r-- | apps/tree.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/apps/tree.c b/apps/tree.c index 9b6ce06af0..fb0d0a3ac5 100644 --- a/apps/tree.c +++ b/apps/tree.c | |||
@@ -299,10 +299,6 @@ void tree_gui_init(void) | |||
299 | 299 | ||
300 | strcpy(tc.currdir, "/"); | 300 | strcpy(tc.currdir, "/"); |
301 | 301 | ||
302 | #ifdef HAVE_LCD_CHARCELLS | ||
303 | FOR_NB_SCREENS(i) | ||
304 | screens[i].double_height(false); | ||
305 | #endif | ||
306 | gui_synclist_init(&tree_lists, &tree_get_filename, &tc, false, 1, NULL); | 302 | gui_synclist_init(&tree_lists, &tree_get_filename, &tc, false, 1, NULL); |
307 | gui_synclist_set_voice_callback(&tree_lists, tree_voice_cb); | 303 | gui_synclist_set_voice_callback(&tree_lists, tree_voice_cb); |
308 | gui_synclist_set_icon_callback(&tree_lists, | 304 | gui_synclist_set_icon_callback(&tree_lists, |
@@ -710,14 +706,12 @@ static int dirbrowse(void) | |||
710 | if ((*tc.dirfilter == SHOW_ID3DB && tc.dirlevel == 0) || | 706 | if ((*tc.dirfilter == SHOW_ID3DB && tc.dirlevel == 0) || |
711 | ((*tc.dirfilter != SHOW_ID3DB && !strcmp(currdir,"/")))) | 707 | ((*tc.dirfilter != SHOW_ID3DB && !strcmp(currdir,"/")))) |
712 | { | 708 | { |
713 | #ifdef HAVE_LCD_BITMAP /* charcell doesnt have ACTION_TREE_PGLEFT so this isnt needed */ | ||
714 | if (oldbutton == ACTION_TREE_PGLEFT) | 709 | if (oldbutton == ACTION_TREE_PGLEFT) |
715 | break; | 710 | break; |
716 | else | 711 | else |
717 | #endif | ||
718 | return GO_TO_ROOT; | 712 | return GO_TO_ROOT; |
719 | } | 713 | } |
720 | 714 | ||
721 | #ifdef HAVE_TAGCACHE | 715 | #ifdef HAVE_TAGCACHE |
722 | if (id3db) | 716 | if (id3db) |
723 | tagtree_exit(&tc); | 717 | tagtree_exit(&tc); |