aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llui')
-rw-r--r--linden/indra/llui/llkeywords.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/llui/llkeywords.cpp b/linden/indra/llui/llkeywords.cpp
index b7e7d87..3580567 100644
--- a/linden/indra/llui/llkeywords.cpp
+++ b/linden/indra/llui/llkeywords.cpp
@@ -380,9 +380,9 @@ void LLKeywords::findSegments(std::vector<LLTextSegment *>* seg_list, const LLWS
380 seg_start = cur - base; 380 seg_start = cur - base;
381 cur += cur_delimiter->getLength(); 381 cur += cur_delimiter->getLength();
382 382
383 if( cur_delimiter->getType() == LLKeywordToken::TWO_SIDED_DELIMITER || LLKeywordToken::TWO_SIDED_DELIMITER_ESC) 383 LLKeywordToken::TOKEN_TYPE type = cur_delimiter->getType();
384 if (type == LLKeywordToken::TWO_SIDED_DELIMITER || type == LLKeywordToken::TWO_SIDED_DELIMITER_ESC)
384 { 385 {
385 llassert( cur_delimiter->getDelimiter() != NULL );
386 while( *cur && !cur_delimiter->isTail(cur)) 386 while( *cur && !cur_delimiter->isTail(cur))
387 { 387 {
388 // Check for an escape sequence. 388 // Check for an escape sequence.