summaryrefslogtreecommitdiffstats
path: root/apps/gui/list.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/list.c')
-rw-r--r--apps/gui/list.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/gui/list.c b/apps/gui/list.c
index f875a6559e..4a51bdace4 100644
--- a/apps/gui/list.c
+++ b/apps/gui/list.c
@@ -133,6 +133,7 @@ bool list_display_title(struct gui_synclist *list, enum screen_type screen)
static int list_get_nb_lines(struct gui_synclist *list, enum screen_type screen)
{
struct viewport *vp = list->parent[screen];
+ vp->line_height = font_get(vp->font)->height;
int lines = skinlist_get_line_count(screen, list);
if (lines < 0)
{