summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/tree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/tree.c b/apps/tree.c
index b66fce04be..6bd7b21c45 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -828,6 +828,7 @@ static bool dirbrowse(char *root, int *dirfilter)
828 828
829#ifdef HAVE_LCD_BITMAP 829#ifdef HAVE_LCD_BITMAP
830 int fw, fh; 830 int fw, fh;
831 lcd_setfont(FONT_UI);
831 lcd_getstringsize("A", &fw, &fh); 832 lcd_getstringsize("A", &fw, &fh);
832 tree_max_on_screen = (LCD_HEIGHT - MARGIN_Y) / fh; 833 tree_max_on_screen = (LCD_HEIGHT - MARGIN_Y) / fh;
833#else 834#else