diff --git a/gfx/exynos_gfx.c b/gfx/exynos_gfx.c index 5a91cc8414..efbbda51ed 100644 --- a/gfx/exynos_gfx.c +++ b/gfx/exynos_gfx.c @@ -1125,7 +1125,7 @@ static int exynos_render_msg(struct exynos_video *vid, atlas = vid->font_driver->get_atlas(vid->font); - for (; msg; ++msg) { + for (; *msg; ++msg) { const struct font_glyph *glyph = vid->font_driver->get_glyph(vid->font, (uint8_t)*msg); if (glyph == NULL) continue;