Commit c9a101c0 authored by bitplane's avatar bitplane

Fix valgrind complaints about uninitialized variables in RTL patch

 


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3592 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 128d1e8f
...@@ -24,6 +24,7 @@ CGUIStaticText::CGUIStaticText(const wchar_t* text, bool border, ...@@ -24,6 +24,7 @@ CGUIStaticText::CGUIStaticText(const wchar_t* text, bool border,
: IGUIStaticText(environment, parent, id, rectangle), : IGUIStaticText(environment, parent, id, rectangle),
HAlign(EGUIA_UPPERLEFT), VAlign(EGUIA_UPPERLEFT), HAlign(EGUIA_UPPERLEFT), VAlign(EGUIA_UPPERLEFT),
Border(border), OverrideColorEnabled(false), OverrideBGColorEnabled(false), WordWrap(false), Background(background), Border(border), OverrideColorEnabled(false), OverrideBGColorEnabled(false), WordWrap(false), Background(background),
RestrainTextInside(true), RightToLeft(false),
OverrideColor(video::SColor(101,255,255,255)), BGColor(video::SColor(101,210,210,210)), OverrideColor(video::SColor(101,255,255,255)), BGColor(video::SColor(101,210,210,210)),
OverrideFont(0), LastBreakFont(0) OverrideFont(0), LastBreakFont(0)
{ {
...@@ -32,7 +33,6 @@ CGUIStaticText::CGUIStaticText(const wchar_t* text, bool border, ...@@ -32,7 +33,6 @@ CGUIStaticText::CGUIStaticText(const wchar_t* text, bool border,
#endif #endif
Text = text; Text = text;
RestrainTextInside = true;
if (environment && environment->getSkin()) if (environment && environment->getSkin())
{ {
BGColor = environment->getSkin()->getColor(gui::EGDC_3D_FACE); BGColor = environment->getSkin()->getColor(gui::EGDC_3D_FACE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment