diff --git a/gfx/drivers_font/gl_raster_font.c b/gfx/drivers_font/gl_raster_font.c index 3c8bfd7ab0..594277de37 100644 --- a/gfx/drivers_font/gl_raster_font.c +++ b/gfx/drivers_font/gl_raster_font.c @@ -299,7 +299,7 @@ static void gl_raster_font_render_line( { int off_x, off_y, tex_x, tex_y, width, height; const struct font_glyph *glyph = - font->font_driver->get_glyph(font->font_data, utf8_walk(&msg)); + font->font_driver->get_glyph(font->font_data, msg[i]); if (!glyph) /* Do something smarter here ... */ glyph = font->font_driver->get_glyph(font->font_data, '?');