diff options
author | Thomas Martitz <kugel@rockbox.org> | 2014-01-26 13:56:53 +0100 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2014-01-26 14:01:48 +0100 |
commit | 37be80a1a5eefd862f7ee132083723cef03ceb3c (patch) | |
tree | 521c648ceff493422893bcc7e432bd43de969e89 /tools/convbdf.c | |
parent | 8142c68bd294a43a9d615995850fe185baa53216 (diff) | |
download | rockbox-37be80a1a5eefd862f7ee132083723cef03ceb3c.tar.gz rockbox-37be80a1a5eefd862f7ee132083723cef03ceb3c.zip |
fonts: Fix regression(s) caused by c23ce62.
The builtin sysfont does not have an associated buflib_alloc_data
(because it's builtin right?). font_get_{width,bits} accessed a field of
it for all fonts which crashed on some systems but not on mine.
Solution: Move this field to struct font directly.
The cache size calculated was also busted.
Fixes FS#12944 and most likely FS#12938.
Change-Id: I32303c4335a12a6c421fdca34f7ece851aac12ca
Diffstat (limited to 'tools/convbdf.c')
0 files changed, 0 insertions, 0 deletions