From fa0ef1ff62b23e830c70f6168f6256a1937b8195 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 27 Dec 2012 16:20:49 +0300 Subject: Fix font usage in some controls. --- src/gui/widgets/sliderlist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/widgets') diff --git a/src/gui/widgets/sliderlist.cpp b/src/gui/widgets/sliderlist.cpp index d57b1a092..019755576 100644 --- a/src/gui/widgets/sliderlist.cpp +++ b/src/gui/widgets/sliderlist.cpp @@ -210,7 +210,7 @@ int SliderList::getMaxLabelWidth() return 1; int maxWidth = 0; - const SDLFont *const font = gui->getFont(); + const gcn::Font *const font = getFont(); const int num = mListModel->getNumberOfElements(); for (int f = 0; f < num; f ++) -- cgit v1.2.3-70-g09d2