summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-03-17 11:57:25 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-03-17 11:57:25 +0000
commit9431ae58f375916eaca49a2f1398afe180387bc3 (patch)
treeda426c885e3b7cb94bc4d6285e95e178991362c4
parentbf2a02f9ba613aaefd23440911550e8080e14e32 (diff)
downloadrockbox-9431ae58f375916eaca49a2f1398afe180387bc3.tar.gz
rockbox-9431ae58f375916eaca49a2f1398afe180387bc3.tar.bz2
rockbox-9431ae58f375916eaca49a2f1398afe180387bc3.zip
Fixed player build problem caused by the button bar changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4398 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/tree.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/tree.c b/apps/tree.c
index b42df0587a..9842450e9d 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -1374,7 +1374,9 @@ static bool dirbrowse(char *root, int *dirfilter)
if (restore || reload_dir) {
/* restore display */
+#ifdef HAVE_LCD_BITMAP
tree_max_on_screen = recalc_screen_height();
+#endif
/* We need to adjust if the number of lines on screen have
changed because of a status bar change */