summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-16 23:31:20 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-16 23:31:20 +0300
commite8270acbc5118aabbf10738eb9deee07457ea56d (patch)
treefa170ab961151c7981e8f64722cdbcad75e11cd6
parentd0bc46cd38aa82777621a99005a90d085e9821c3 (diff)
downloadmanaverse-e8270acbc5118aabbf10738eb9deee07457ea56d.tar.gz
manaverse-e8270acbc5118aabbf10738eb9deee07457ea56d.tar.bz2
manaverse-e8270acbc5118aabbf10738eb9deee07457ea56d.tar.xz
manaverse-e8270acbc5118aabbf10738eb9deee07457ea56d.zip
Fix tests compilation.
-rw-r--r--src/gui/widgets/browserbox_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/browserbox_unittest.cc b/src/gui/widgets/browserbox_unittest.cc
index 506bb071b..7bf674037 100644
--- a/src/gui/widgets/browserbox_unittest.cc
+++ b/src/gui/widgets/browserbox_unittest.cc
@@ -51,7 +51,7 @@ TEST(browserbox, test1)
logger = new Logger();
imageHelper = new SDLImageHelper();
Theme *theme = Theme::instance();
- gcn::Widget::setGlobalFont(new SDLFont("/usr/share/fonts/truetype/"
+ gcn::Widget::setGlobalFont(new Font("/usr/share/fonts/truetype/"
"ttf-dejavu/DejaVuSans-Oblique.ttf", 18));
BrowserBox *box = new BrowserBox(nullptr, BrowserBox::AUTO_WRAP, true, "");
box->setWidth(100);