From eaaf5190b54fe7d481fdb5a2bd0755fdc293a487 Mon Sep 17 00:00:00 2001 From: nls Date: Sun, 13 Dec 2009 11:19:06 +0000 Subject: [PATCH] fix typo causing red git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23970 a1c6a512-1295-4272-9138-f99709370657 --- firmware/font.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/font.c b/firmware/font.c index 8e89e69a2..858a312ac 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; -- 2.11.4.GIT