diff options
Diffstat (limited to 'linden')
-rw-r--r-- | linden/indra/llui/llkeywords.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/llui/llkeywords.cpp b/linden/indra/llui/llkeywords.cpp index 653dc47..862e77b 100644 --- a/linden/indra/llui/llkeywords.cpp +++ b/linden/indra/llui/llkeywords.cpp | |||
@@ -438,7 +438,7 @@ void LLKeywords::findSegments(std::vector<LLTextSegment *>* seg_list, const LLWS | |||
438 | 438 | ||
439 | if( *cur ) | 439 | if( *cur ) |
440 | { | 440 | { |
441 | cur += cur_delimiter->getLength(); | 441 | cur += cur_delimiter->getLength2(); |
442 | if (cur_delimiter->getType() == LLKeywordToken::TWO_SIDED_DELIMITER) | 442 | if (cur_delimiter->getType() == LLKeywordToken::TWO_SIDED_DELIMITER) |
443 | { | 443 | { |
444 | seg_end = seg_start + between_delimiters | 444 | seg_end = seg_start + between_delimiters |
@@ -452,7 +452,7 @@ void LLKeywords::findSegments(std::vector<LLTextSegment *>* seg_list, const LLWS | |||
452 | between_delimiters++; | 452 | between_delimiters++; |
453 | cur++; | 453 | cur++; |
454 | } | 454 | } |
455 | seg_end = seg_start + between_delimiters + 2 + cur_delimiter->getLength(); | 455 | seg_end = seg_start + between_delimiters + cur_delimiter->getLength(); |
456 | } | 456 | } |
457 | else | 457 | else |
458 | { | 458 | { |