summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2009-12-13 11:19:06 +0000
committerNils Wallménius <nils@rockbox.org>2009-12-13 11:19:06 +0000
commit66776bc47922e039f43e2dd5dee15d05745e99c6 (patch)
treedbb37f008f54497e2d2f5b665dca576fb557b771
parent559c56905e1208264e87ff3bbc2049eb054f95c8 (diff)
downloadrockbox-66776bc47922e039f43e2dd5dee15d05745e99c6.zip
rockbox-66776bc47922e039f43e2dd5dee15d05745e99c6.tar.gz
rockbox-66776bc47922e039f43e2dd5dee15d05745e99c6.tar.bz2
rockbox-66776bc47922e039f43e2dd5dee15d05745e99c6.tar.xz
fix typo causing red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23970 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/font.c b/firmware/font.c
index 8e89e69..858a312 100644
--- a/firmware/font.c
+++ b/firmware/font.c
@@ -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;