From 93c6c79e8d2ee39056afe7f8145b051d4a0e8d38 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Sat, 29 Oct 2011 15:16:02 +0000 Subject: Better fix for FS#12337. Use 0 to make the line height calculated from the font height, as before r30773. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30850 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/skin_engine/skin_parser.c | 1 - 1 file changed, 1 deletion(-) (limited to 'apps/gui/skin_engine/skin_parser.c') diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c index a9689a8e00..1557783a7c 100644 --- a/apps/gui/skin_engine/skin_parser.c +++ b/apps/gui/skin_engine/skin_parser.c @@ -1694,7 +1694,6 @@ static bool skin_load_fonts(struct wps_data *data) /* finally, assign the font_id to the viewport */ vp->font = font->id; - vp->line_height = font_get(vp->font)->height; } data->font_ids = skin_buffer_alloc(font_count * sizeof(int)); if (!success || data->font_ids == NULL) -- cgit v1.2.3