diff options
author | Monroe Linden <monroe@lindenlab.com> | 2010-02-05 15:51:49 -0800 |
---|---|---|
committer | Monroe Linden <monroe@lindenlab.com> | 2010-02-05 15:51:49 -0800 |
commit | 68ea862c96a96be631505e88ae870d6aab066eb9 (patch) | |
tree | b966e76d5ffdcd6ad9f6951b3bcce63e13b79dbe /indra/llui | |
parent | 53e217dbb7e9d23cb876f790a4a3fa4d45533d88 (diff) |
Fix for EXT-4943 (Text editor is broken).
Reviewed by Richard.
Diffstat (limited to 'indra/llui')
-rw-r--r-- | 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 2b1e2b8226..a83cc19d36 100644 --- a/indra/llui/lltextbase.cpp +++ b/indra/llui/lltextbase.cpp @@ -1137,6 +1137,7 @@ void LLTextBase::reflow() line_list_t::iterator iter = std::upper_bound(mLineInfoList.begin(), mLineInfoList.end(), start_index, line_end_compare()); line_start_index = iter->mDocIndexStart; line_count = iter->mLineNum; + cur_top = iter->mRect.mTop; getSegmentAndOffset(iter->mDocIndexStart, &seg_iter, &seg_offset); mLineInfoList.erase(iter, mLineInfoList.end()); } |