aboutsummaryrefslogtreecommitdiffstats
path: root/src/gdisp/gdisp.c
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@seriouslyembedded.com>2015-11-02 09:26:32 +0100
committerJoel Bodenmann <joel@seriouslyembedded.com>2015-11-02 09:26:32 +0100
commit2dcd3509c9313e9de6022dc8a6ba5b91556a1bfa (patch)
tree2f959b95841cbf07f6694ba2fa08778692e92fa1 /src/gdisp/gdisp.c
parent69de17687c304e4699804e6644dd156099de84c6 (diff)
downloaduGFX-2dcd3509c9313e9de6022dc8a6ba5b91556a1bfa.tar.gz
uGFX-2dcd3509c9313e9de6022dc8a6ba5b91556a1bfa.tar.bz2
uGFX-2dcd3509c9313e9de6022dc8a6ba5b91556a1bfa.zip
Fixing word-wrap
Diffstat (limited to 'src/gdisp/gdisp.c')
-rw-r--r--src/gdisp/gdisp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gdisp/gdisp.c b/src/gdisp/gdisp.c
index f2fd2738..16d605cb 100644
--- a/src/gdisp/gdisp.c
+++ b/src/gdisp/gdisp.c
@@ -3174,8 +3174,7 @@ void gdispGDrawBox(GDisplay *g, coord_t x, coord_t y, coord_t cx, coord_t cy, co
mf_render_aligned(wrapParameters->font, wrapParameters->x, wrapParameters->y, wrapParameters->justify, line, count, fillcharglyph, wrapParameters->g);
- wrapParameters->y += wrapParameters->font->baseline_y;
-
+ wrapParameters->y += wrapParameters->font->line_height;
return TRUE;
}
#endif