summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-07-19 19:38:45 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-07-24 21:20:13 +0000
commit0c4f89370d05056faa789aa9cabcccc4e509fb9f (patch)
tree6ddf7fff0a47564db41d39927ea1acbdb03e74ee /apps/tree.c
parent092c340a2062fa98b7387fc5fd63578ddae7d0b6 (diff)
downloadrockbox-0c4f89370d05056faa789aa9cabcccc4e509fb9f.tar.gz
rockbox-0c4f89370d05056faa789aa9cabcccc4e509fb9f.zip
[2/4] get rid of HAVE_LCD_CHARCELLS
HAVE_LCD_BITMAP is now redundant. lcd_bitmap is always-on in features.txt so manual and lang strings don't have to change Change-Id: I08eeb20de48099ffc2dc23782711af368c2ec794
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c8
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);