summaryrefslogtreecommitdiffstats
path: root/apps/gui/list.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2011-10-23 11:12:52 +0000
committerThomas Martitz <kugel@rockbox.org>2011-10-23 11:12:52 +0000
commit7352e72cb9f5027ff97118d1369fe2cecb67e8d3 (patch)
treecb2b171a55c5b9bf03e67291f21a03b22a004250 /apps/gui/list.c
parent155a9f8abd8ae2b79f3e77d7006aeb0bf011065e (diff)
downloadrockbox-7352e72cb9f5027ff97118d1369fe2cecb67e8d3.tar.gz
rockbox-7352e72cb9f5027ff97118d1369fe2cecb67e8d3.tar.bz2
rockbox-7352e72cb9f5027ff97118d1369fe2cecb67e8d3.zip
Fix charcell build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30828 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/list.c')
-rw-r--r--apps/gui/list.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/gui/list.c b/apps/gui/list.c
index 676faa7806..4f1d3833d6 100644
--- a/apps/gui/list.c
+++ b/apps/gui/list.c
@@ -502,7 +502,9 @@ void gui_synclist_set_viewport_defaults(struct viewport *vp,
enum screen_type screen)
{
viewport_set_defaults(vp, screen);
+#ifdef HAVE_LCD_BITMAP
vp->line_height = list_line_height(vp);
+#endif
#ifdef HAVE_BUTTONBAR
if (screens[screen].has_buttonbar)
vp->height -= BUTTONBAR_HEIGHT;