summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/llscrolllistctrl.h4
-rw-r--r--indra/llui/lltexteditor.cpp6
2 files changed, 8 insertions, 2 deletions
diff --git a/indra/llui/llscrolllistctrl.h b/indra/llui/llscrolllistctrl.h
index 47683d0ab4..04a6a181eb 100644
--- a/indra/llui/llscrolllistctrl.h
+++ b/indra/llui/llscrolllistctrl.h
@@ -212,7 +212,8 @@ public:
mMaxContentWidth(0),
mIndex(-1),
mParentCtrl(NULL),
- mHeader(NULL)
+ mHeader(NULL),
+ mFontAlignment(LLFontGL::LEFT)
{ }
LLScrollListColumn(const LLSD &sd)
@@ -260,6 +261,7 @@ public:
mIndex = -1;
mParentCtrl = NULL;
mHeader = NULL;
+ mFontAlignment = LLFontGL::LEFT;
}
// Public data is fine so long as this remains a simple struct-like data class.
diff --git a/indra/llui/lltexteditor.cpp b/indra/llui/lltexteditor.cpp
index 5617eb4873..f0f3ac3bdc 100644
--- a/indra/llui/lltexteditor.cpp
+++ b/indra/llui/lltexteditor.cpp
@@ -4003,7 +4003,11 @@ BOOL LLTextEditor::exportBuffer(LLString &buffer )
//////////////////////////////////////////////////////////////////////////
// LLTextSegment
-LLTextSegment::LLTextSegment(S32 start) : mStart(start)
+LLTextSegment::LLTextSegment(S32 start) :
+ mStart(start),
+ mEnd(0),
+ mToken(NULL),
+ mIsDefault(FALSE)
{
}
LLTextSegment::LLTextSegment( const LLStyleSP& style, S32 start, S32 end ) :