diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/font.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/font.c b/firmware/font.c index 8e89e69a28..858a312ac6 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) | |||
605 | 605 | ||
606 | /* assume small font with uint16_t offsets*/ | 606 | /* assume small font with uint16_t offsets*/ |
607 | bits = pf->bits + (pf->offset? | 607 | bits = pf->bits + (pf->offset? |
608 | ((uint16_t*)(pf->offset)[char_code]: | 608 | ((uint16_t*)(pf->offset))[char_code]: |
609 | (((pf->height + 7) / 8) * pf->maxwidth * char_code)); | 609 | (((pf->height + 7) / 8) * pf->maxwidth * char_code)); |
610 | 610 | ||
611 | return bits; | 611 | return bits; |