From 5502aef3e56db8665cba8885f4e5ef050f050f2e Mon Sep 17 00:00:00 2001 From: inmarket Date: Fri, 20 Jan 2017 09:23:06 +1000 Subject: Increase non-UTF8 font support to 0 to 255 rather than just the true ascii set --- src/gdisp/mcufont/mf_font.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/gdisp/mcufont/mf_font.c b/src/gdisp/mcufont/mf_font.c index ccf71bec..b8989336 100644 --- a/src/gdisp/mcufont/mf_font.c +++ b/src/gdisp/mcufont/mf_font.c @@ -33,7 +33,7 @@ uint8_t mf_render_character(const struct mf_font_s *font, void *state) { uint8_t width; - width = font->render_character(font, x0, y0, character, callback, state); + width = font->render_character(font, x0, y0, MFCHAR2UINT16(character), callback, state); if (!width) { -- cgit v1.2.3