summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 2d82e518e2..9b4f6898de 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -594,9 +594,11 @@ static int recalc_screen_height(void)
594 lcd_getstringsize("A", &fw, &fh); 594 lcd_getstringsize("A", &fw, &fh);
595 if(global_settings.statusbar) 595 if(global_settings.statusbar)
596 height -= STATUSBAR_HEIGHT; 596 height -= STATUSBAR_HEIGHT;
597 597
598#if CONFIG_KEYPAD == RECORDER_PAD
598 if(global_settings.buttonbar) 599 if(global_settings.buttonbar)
599 height -= BUTTONBAR_HEIGHT; 600 height -= BUTTONBAR_HEIGHT;
601#endif
600 602
601 return height / fh; 603 return height / fh;
602} 604}