aboutsummaryrefslogtreecommitdiff
path: root/src/cguittfont/CGUITTFont.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cguittfont/CGUITTFont.cpp')
-rw-r--r--src/cguittfont/CGUITTFont.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cguittfont/CGUITTFont.cpp b/src/cguittfont/CGUITTFont.cpp
index 73a126a9f..92a24784e 100644
--- a/src/cguittfont/CGUITTFont.cpp
+++ b/src/cguittfont/CGUITTFont.cpp
@@ -583,7 +583,7 @@ void CGUITTFont::draw(const core::stringw& text, const core::rect<s32>& position
if (lineBreak)
{
previousChar = 0;
- offset.Y += font_metrics.ascender / 64;
+ offset.Y += font_metrics.height / 64;
offset.X = position.UpperLeftCorner.X;
if (hcenter)