From 9431ae58f375916eaca49a2f1398afe180387bc3 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Wed, 17 Mar 2004 11:57:25 +0000 Subject: 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 --- apps/tree.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/tree.c') 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 */ -- cgit v1.2.3