diff options
author | Oz Linden <oz@lindenlab.com> | 2014-03-19 14:17:13 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2014-03-19 14:17:13 -0400 |
commit | bd4f4ee7932797008ed15f8c0301f5a0e5911a64 (patch) | |
tree | 91adc2b3d651846df3f8d2724b48ce865aa96d5b /indra/llui/lltextbase.cpp | |
parent | d6fdc6e68fc713b21b68e42740d63c3e9005bceb (diff) |
logging cleanup in support of debugging text editor problems
Diffstat (limited to 'indra/llui/lltextbase.cpp')
-rwxr-xr-x | indra/llui/lltextbase.cpp | 1 |
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); |