diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2010-03-03 00:53:07 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2010-03-03 00:53:07 +0000 |
commit | f37b5078f69e8370a89e3adf53a6b9f98eb3a8cc (patch) | |
tree | 88d946d283f034411509e81436169002ff0d5d57 /firmware/export/font.h | |
parent | 9e611b1b009d6d5e02c10b5015cd4f2bc56f249e (diff) |
undo that last undo, make the font loader more forgiving to user errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24994 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/font.h')
-rw-r--r-- | firmware/export/font.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/export/font.h b/firmware/export/font.h index 307db6967d..406901d072 100644 --- a/firmware/export/font.h +++ b/firmware/export/font.h @@ -54,9 +54,10 @@ enum { SYSTEMFONTCOUNT, /* Number of fonts reserved for the system and ui */ FONT_FIRSTUSERFONT = 2 }; +#define MAXUSERFONTS 8 -/* SYSFONT, FONT_UI, FONT_UI_REMOTE + 8 fonts in skins */ -#define MAXFONTS 11 +/* SYSFONT, FONT_UI, FONT_UI_REMOTE + MAXUSERFONTS fonts in skins */ +#define MAXFONTS (SYSTEMFONTCOUNT + MAXUSERFONTS) /* * .fnt loadable font file format definition |