aboutsummaryrefslogtreecommitdiffstats
path: root/src/gdisp
diff options
context:
space:
mode:
authorinmarket <inmarket@ugfx.org>2017-01-20 09:23:06 +1000
committerinmarket <inmarket@ugfx.org>2017-01-20 09:23:06 +1000
commit5502aef3e56db8665cba8885f4e5ef050f050f2e (patch)
treecf68dfb9b751da3bbb7fd8acbe3791d58f19059b /src/gdisp
parentb90055d2f9792a7ee8df82ffc2a4d65bcf466e38 (diff)
downloaduGFX-5502aef3e56db8665cba8885f4e5ef050f050f2e.tar.gz
uGFX-5502aef3e56db8665cba8885f4e5ef050f050f2e.tar.bz2
uGFX-5502aef3e56db8665cba8885f4e5ef050f050f2e.zip
Increase non-UTF8 font support to 0 to 255 rather than just the true ascii set
Diffstat (limited to 'src/gdisp')
-rw-r--r--src/gdisp/mcufont/mf_font.c2
1 files changed, 1 insertions, 1 deletions
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)
{