summaryrefslogtreecommitdiff
path: root/src/gui/widgets/browserbox_unittest.cc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-20 17:42:43 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-20 18:56:15 +0300
commitd9994f114b1febf4c075d77c0fb3e7a44e510e20 (patch)
tree00eeae0b23ab620363dedcce448af25325b1381f /src/gui/widgets/browserbox_unittest.cc
parentd65f51b41a9d84c501bb25bc3849ffd8446fb2e6 (diff)
downloadmv-d9994f114b1febf4c075d77c0fb3e7a44e510e20.tar.gz
mv-d9994f114b1febf4c075d77c0fb3e7a44e510e20.tar.bz2
mv-d9994f114b1febf4c075d77c0fb3e7a44e510e20.tar.xz
mv-d9994f114b1febf4c075d77c0fb3e7a44e510e20.zip
Fix code style and some minor issues.
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 88e8143c3..358f816c7 100644
--- a/src/gui/widgets/browserbox_unittest.cc
+++ b/src/gui/widgets/browserbox_unittest.cc
@@ -39,7 +39,7 @@ TEST(browserbox, test1)
PHYSFS_init("manaplus");
logger = new Logger();
Theme *theme = Theme::instance();
- BrowserBox *box = new BrowserBox(BrowserBox::AUTO_WRAP);
+ BrowserBox *box = new BrowserBox(nullptr, BrowserBox::AUTO_WRAP);
box->setWidth(100);
std::string row = "test";
box->addRow(row);