summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-01-13 19:37:34 +0000
committerJens Arnold <amiconn@rockbox.org>2005-01-13 19:37:34 +0000
commit5265edda08809159fbf54e92478cfdc096f33289 (patch)
tree2126d08689b04cfdb6477df822f427a1443fb054 /apps/tree.c
parentc5efd8b64c6fc6ee85a7d0fac7f4fbfb592dc773 (diff)
Removed remnants of buttonbar code for units without recorder keypad.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5563 a1c6a512-1295-4272-9138-f99709370657
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)
lcd_getstringsize("A", &fw, &fh);
if(global_settings.statusbar)
height -= STATUSBAR_HEIGHT;
-
+
+#if CONFIG_KEYPAD == RECORDER_PAD
if(global_settings.buttonbar)
height -= BUTTONBAR_HEIGHT;
+#endif
return height / fh;
}