diff options
| author | Thomas Martitz <kugel@rockbox.org> | 2011-10-29 15:16:02 +0000 |
|---|---|---|
| committer | Thomas Martitz <kugel@rockbox.org> | 2011-10-29 15:16:02 +0000 |
| commit | 93c6c79e8d2ee39056afe7f8145b051d4a0e8d38 (patch) | |
| tree | 283a6748c5bee4d0b2c1d2974e949b92963c5599 /apps/gui/skin_engine/skin_parser.c | |
| parent | 9fe029b12a0828b247718fc89b08547b1ab916b5 (diff) | |
| download | rockbox-93c6c79e8d2ee39056afe7f8145b051d4a0e8d38.zip rockbox-93c6c79e8d2ee39056afe7f8145b051d4a0e8d38.tar.gz rockbox-93c6c79e8d2ee39056afe7f8145b051d4a0e8d38.tar.bz2 rockbox-93c6c79e8d2ee39056afe7f8145b051d4a0e8d38.tar.xz | |
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
Diffstat (limited to 'apps/gui/skin_engine/skin_parser.c')
| -rw-r--r-- | apps/gui/skin_engine/skin_parser.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c index a9689a8..1557783 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) |