summaryrefslogtreecommitdiff
path: root/src/gui/widgets/browserbox_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/browserbox_unittest.cc')
-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 1c38d735f..2d45e507f 100644
--- a/src/gui/widgets/browserbox_unittest.cc
+++ b/src/gui/widgets/browserbox_unittest.cc
@@ -53,7 +53,7 @@ TEST(browserbox, test1)
Theme *theme = Theme::instance();
gcn::Widget::setGlobalFont(new SDLFont("/usr/share/fonts/truetype/"
"ttf-dejavu/DejaVuSans-Oblique.ttf", 18));
- BrowserBox *box = new BrowserBox(nullptr, BrowserBox::AUTO_WRAP);
+ BrowserBox *box = new BrowserBox(nullptr, BrowserBox::AUTO_WRAP, "");
box->setWidth(100);
std::string row = "test";
box->addRow(row);