diff options
author | Fred Bauer <fred.w.bauer@gmail.com> | 2010-08-27 18:25:23 +0000 |
---|---|---|
committer | Fred Bauer <fred.w.bauer@gmail.com> | 2010-08-27 18:25:23 +0000 |
commit | cf8f526d16d8c37768e44c56c8985f30293bda4a (patch) | |
tree | d47718fe08256ae887a686c7d656c9ae29809b21 /firmware/export | |
parent | aaa864ea0314c1619b2b1caf29c8921a7714e751 (diff) |
change get_glyph_size() to font_glyphs_to_bufsize(). fixes a bug when font glyph buffer < font header
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27911 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/font.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/export/font.h b/firmware/export/font.h index 4aa99e4d05..0a75768fa5 100644 --- a/firmware/export/font.h +++ b/firmware/export/font.h @@ -121,7 +121,7 @@ void font_init(void) INIT_ATTR; int font_load_remoteui(const char* path); #endif int font_load(struct font* pf, const char *path); -int get_glyph_size(const char *path); +int font_glyphs_to_bufsize(const char *path, int glyphs); void font_unload(int font_id); struct font* font_get(int font); |