summaryrefslogtreecommitdiff
path: root/src/gui/widgets/textpreview.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/textpreview.h')
-rw-r--r--src/gui/widgets/textpreview.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/widgets/textpreview.h b/src/gui/widgets/textpreview.h
index 0cda7c8b..7e88248f 100644
--- a/src/gui/widgets/textpreview.h
+++ b/src/gui/widgets/textpreview.h
@@ -131,12 +131,12 @@ class TextPreview : public gcn::Widget
std::string mText;
const gcn::Color *mTextColor;
const gcn::Color *mBGColor;
- const gcn::Color *mTextBGColor;
+ const gcn::Color *mTextBGColor = nullptr;
static float mAlpha;
- bool mTextAlpha;
- bool mOpaque;
- bool mShadow;
- bool mOutline;
+ bool mTextAlpha = false;
+ bool mOpaque = false;
+ bool mShadow = false;
+ bool mOutline = false;
};
#endif