diff options
-rw-r--r-- | apps/tree.c | 2 |
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) | |||
1374 | if (restore || reload_dir) { | 1374 | if (restore || reload_dir) { |
1375 | /* restore display */ | 1375 | /* restore display */ |
1376 | 1376 | ||
1377 | #ifdef HAVE_LCD_BITMAP | ||
1377 | tree_max_on_screen = recalc_screen_height(); | 1378 | tree_max_on_screen = recalc_screen_height(); |
1379 | #endif | ||
1378 | 1380 | ||
1379 | /* We need to adjust if the number of lines on screen have | 1381 | /* We need to adjust if the number of lines on screen have |
1380 | changed because of a status bar change */ | 1382 | changed because of a status bar change */ |