1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-25 05:35:25 +02:00

Fix labels and vertlabels on some systems.

This commit is contained in:
RealBadAngel
2014-06-20 21:30:48 +02:00
parent e81454fb38
commit c86b78c9b7
2 changed files with 3 additions and 3 deletions

View File

@@ -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)