diff options
Diffstat (limited to 'gui/text.cpp')
-rw-r--r-- | gui/text.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/text.cpp b/gui/text.cpp index c594f4824..29d7ad948 100644 --- a/gui/text.cpp +++ b/gui/text.cpp @@ -97,7 +97,7 @@ GUIText::GUIText(xml_node<>* node) mLastValue = parseText(); if (mLastValue != mText) mIsStatic = 0; - gr_getFontDetails(mFont ? mFont->GetResource() : NULL, (unsigned*) &mFontHeight, NULL); + mFontHeight = gr_getMaxFontHeight(mFont ? mFont->GetResource() : NULL); return; } |