summaryrefslogtreecommitdiff
path: root/indra/llui/llkeywords.cpp
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2025-02-11 18:36:57 +0200
committerAndrey Lihatskiy <alihatskiy@productengine.com>2025-02-11 18:44:11 +0200
commitf650597054faf76747fff641c91233dbb1d4b396 (patch)
tree032ebf422ecefb31c24069ef93bf457c69f6d663 /indra/llui/llkeywords.cpp
parenta54ac5a67f4457266c13885f13b25ea5e2b12929 (diff)
#3422 Fix two-sided delimiter tail processing
Diffstat (limited to 'indra/llui/llkeywords.cpp')
-rw-r--r--indra/llui/llkeywords.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llkeywords.cpp b/indra/llui/llkeywords.cpp
index 7bf43c22c1..ad164ff2cc 100644
--- a/indra/llui/llkeywords.cpp
+++ b/indra/llui/llkeywords.cpp
@@ -627,7 +627,7 @@ void LLKeywords::findSegments(std::vector<LLTextSegmentPtr>* seg_list, const LLW
if( *cur )
{
- cur += cur_delimiter->getLengthHead();
+ cur += cur_delimiter->getLengthTail();
seg_end = seg_start + between_delimiters + cur_delimiter->getLengthHead() + cur_delimiter->getLengthTail();
}
else