fix typo causing red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23970 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
559c56905e
commit
66776bc479
1 changed files with 1 additions and 1 deletions
|
@ -605,7 +605,7 @@ const unsigned char* font_get_bits(struct font* pf, unsigned short char_code)
|
|||
|
||||
/* assume small font with uint16_t offsets*/
|
||||
bits = pf->bits + (pf->offset?
|
||||
((uint16_t*)(pf->offset)[char_code]:
|
||||
((uint16_t*)(pf->offset))[char_code]:
|
||||
(((pf->height + 7) / 8) * pf->maxwidth * char_code));
|
||||
|
||||
return bits;
|
||||
|
|
Loading…
Reference in a new issue