forked from len0rd/rockbox
Increase MAXUSERFONTS to 12.
In the modern everything-can-be-skinned world, themes are beginning to hit the limit of 8 fonts (which includes sysfont). Increasing this to 12 will allow some headroom, at the cost of a bit more RAM usage (about 20 bytes per extra possible font, so about 80 bytes total here) Change-Id: Iddf4374b7ccf92b400614a7309bf3d2147ba98ab
This commit is contained in:
parent
9f242e7be4
commit
f8d36b5baa
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ enum {
|
|||
FONT_SYSFIXED = -1, /* system fixed pitch font*/
|
||||
FONT_FIRSTUSERFONT = 0, /* first id for the user fonts */
|
||||
};
|
||||
#define MAXUSERFONTS 8
|
||||
#define MAXUSERFONTS 12
|
||||
|
||||
/* SYSFONT, FONT_UI, FONT_UI_REMOTE + MAXUSERFONTS fonts in skins */
|
||||
#define MAXFONTS (FONT_FIRSTUSERFONT + MAXUSERFONTS)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue