diff options
Diffstat (limited to '')
-rw-r--r-- | gui/slidervalue.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/slidervalue.cpp b/gui/slidervalue.cpp index 5b4d57f1c..700d7d5d7 100644 --- a/gui/slidervalue.cpp +++ b/gui/slidervalue.cpp @@ -198,7 +198,7 @@ GUISliderValue::GUISliderValue(xml_node<>* node) : GUIObject(node) } } - gr_getFontDetails(mFont ? mFont->GetResource() : NULL, (unsigned*) &mFontHeight, NULL); + mFontHeight = gr_getMaxFontHeight(mFont ? mFont->GetResource() : NULL); if(mShowCurr) { |