diff options
Diffstat (limited to '')
-rw-r--r-- | gui/console.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/console.cpp b/gui/console.cpp index 897c58203..aad392ca3 100644 --- a/gui/console.cpp +++ b/gui/console.cpp @@ -177,7 +177,7 @@ GUIConsole::GUIConsole(xml_node<>* node) : GUIObject(node) } } - gr_getFontDetails(mFont, &mFontHeight, NULL); + mFontHeight = gr_getMaxFontHeight(mFont ? mFont->GetResource() : NULL); SetActionPos(mRenderX, mRenderY, mRenderW, mRenderH); SetRenderPos(mConsoleX, mConsoleY); return; |