summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-27 16:20:49 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-27 23:15:05 +0300
commitfa0ef1ff62b23e830c70f6168f6256a1937b8195 (patch)
tree3a81237a324839d7bff56ceac3c388a32b16b6ae /src/gui/widgets
parent697e5bbf3171b0ba1fbbc0bbe61461c7726bf1ce (diff)
downloadmanaplus-fa0ef1ff62b23e830c70f6168f6256a1937b8195.tar.gz
manaplus-fa0ef1ff62b23e830c70f6168f6256a1937b8195.tar.bz2
manaplus-fa0ef1ff62b23e830c70f6168f6256a1937b8195.tar.xz
manaplus-fa0ef1ff62b23e830c70f6168f6256a1937b8195.zip
Fix font usage in some controls.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/sliderlist.cpp2
1 files changed, 1 insertions, 1 deletions
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 ++)