diff options
Diffstat (limited to 'src/gdisp')
-rw-r--r-- | src/gdisp/gdisp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gdisp/gdisp.c b/src/gdisp/gdisp.c index 11d5c6c9..e1ee6951 100644 --- a/src/gdisp/gdisp.c +++ b/src/gdisp/gdisp.c @@ -3486,7 +3486,7 @@ void gdispGDrawBox(GDisplay *g, coord_t x, coord_t y, coord_t cx, coord_t cy, co mf_wordwrap(font, cx, str, mf_countline_callback, &nbrLines); wrapParameters.y += (cy+1 - nbrLines*font->height)/2; - mf_wordwrap(font, cx, str, mf_fillline_callback, &wrapParameters); + mf_wordwrap(font, cx, str, mf_drawline_callback, &wrapParameters); #else y += (cy+1 - font->height)/2; mf_render_aligned(font, x, y, justify, str, 0, drawcharglyph, g); |