diff options
author | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2025-05-22 19:53:53 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-22 19:53:53 +0300 |
commit | 5b12428e65a5edf56409cf3fdc858827da7460f0 (patch) | |
tree | a9e05bdec67d213bbc141bd00f1719259ab8b2fc | |
parent | 5047a0b439cd84d2d6ccdecc5c47a75736e01cd4 (diff) |
#4132 fix name mentions sometimes not being highlighted
-rw-r--r-- | indra/llui/lltextbase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/lltextbase.cpp b/indra/llui/lltextbase.cpp index c1b01f420b..778b253c3c 100644 --- a/indra/llui/lltextbase.cpp +++ b/indra/llui/lltextbase.cpp @@ -483,7 +483,7 @@ std::vector<std::pair<LLRect, LLUIColor>> LLTextBase::getHighlightedBgRects() F32 left_precise = (F32)line_iter->mRect.mLeft; F32 right_precise = (F32)line_iter->mRect.mLeft; - for (; segment_iter != mSegments.end(); ++segment_iter) + for (; segment_iter != mSegments.end(); ++segment_iter, segment_offset = 0) { LLTextSegmentPtr segmentp = *segment_iter; |