summaryrefslogtreecommitdiff
path: root/indra/llui/lltextbase.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2014-03-19 14:17:13 -0400
committerOz Linden <oz@lindenlab.com>2014-03-19 14:17:13 -0400
commitbd4f4ee7932797008ed15f8c0301f5a0e5911a64 (patch)
tree91adc2b3d651846df3f8d2724b48ce865aa96d5b /indra/llui/lltextbase.cpp
parentd6fdc6e68fc713b21b68e42740d63c3e9005bceb (diff)
logging cleanup in support of debugging text editor problems
Diffstat (limited to 'indra/llui/lltextbase.cpp')
-rwxr-xr-xindra/llui/lltextbase.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llui/lltextbase.cpp b/indra/llui/lltextbase.cpp
index c4664d6fe0..ee16d3de7c 100755
--- a/indra/llui/lltextbase.cpp
+++ b/indra/llui/lltextbase.cpp
@@ -923,6 +923,7 @@ void LLTextBase::createDefaultSegment()
// ensures that there is always at least one segment
if (mSegments.empty())
{
+
LLStyleConstSP sp(new LLStyle(getStyleParams()));
LLTextSegmentPtr default_segment = new LLNormalTextSegment( sp, 0, getLength() + 1, *this);
mSegments.insert(default_segment);