diff options
author | RealBadAngel <maciej.kasatkin@o2.pl> | 2014-06-20 21:30:48 +0200 |
---|---|---|
committer | RealBadAngel <maciej.kasatkin@o2.pl> | 2014-06-20 21:30:48 +0200 |
commit | c86b78c9b725873451102ba78ef0820ce2056487 (patch) | |
tree | beede4fc41ae3e5c406d2cc8ef3fb7aed664a71a /src/cguittfont/CGUITTFont.cpp | |
parent | e81454fb387cd98b4a63ade83a9eb41f1bdca278 (diff) | |
download | minetest-c86b78c9b725873451102ba78ef0820ce2056487.tar.gz minetest-c86b78c9b725873451102ba78ef0820ce2056487.tar.bz2 minetest-c86b78c9b725873451102ba78ef0820ce2056487.zip |
Fix labels and vertlabels on some systems.
Diffstat (limited to 'src/cguittfont/CGUITTFont.cpp')
-rw-r--r-- | src/cguittfont/CGUITTFont.cpp | 2 |
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) |