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 b66fce0..6bd7b21 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -828,6 +828,7 @@ static bool dirbrowse(char *root, int *dirfilter)
#ifdef HAVE_LCD_BITMAP
int fw, fh;
+ lcd_setfont(FONT_UI);
lcd_getstringsize("A", &fw, &fh);
tree_max_on_screen = (LCD_HEIGHT - MARGIN_Y) / fh;
#else