projects
/
oweals
/
minetest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
OS X compatibility fixes
[oweals/minetest.git]
/
src
/
cguittfont
/
CGUITTFont.cpp
diff --git
a/src/cguittfont/CGUITTFont.cpp
b/src/cguittfont/CGUITTFont.cpp
index 73a126a9f9d966ef231b3bc2f931c73d0d0ef00e..92a24784e41f3c524e481f0febe5ac198b46c918 100644
(file)
--- 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)