summaryrefslogtreecommitdiff
path: root/src/gui/widgets/browserbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/browserbox.h')
-rw-r--r--src/gui/widgets/browserbox.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/widgets/browserbox.h b/src/gui/widgets/browserbox.h
index cf2f9c1f1..06609b318 100644
--- a/src/gui/widgets/browserbox.h
+++ b/src/gui/widgets/browserbox.h
@@ -30,6 +30,8 @@
#include <list>
#include <vector>
+#include "localconsts.h"
+
class Image;
class Resource;
class LinkHandler;
@@ -46,7 +48,7 @@ class LinePart
public:
LinePart(int x, int y, gcn::Color color, std::string text, bool bold) :
mX(x), mY(y), mColor(color), mText(text), mType(0),
- mImage(0), mBold(bold)
+ mImage(nullptr), mBold(bold)
{
}