diff options
Diffstat (limited to 'indra/llui/llkeywords.cpp')
| -rw-r--r-- | indra/llui/llkeywords.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llui/llkeywords.cpp b/indra/llui/llkeywords.cpp index 8c34e4ab9c..bbcb45f100 100644 --- a/indra/llui/llkeywords.cpp +++ b/indra/llui/llkeywords.cpp @@ -577,9 +577,9 @@ void LLKeywords::collectSegmentOps(segment_ops_t& ops, const LLWString& wtext, b // Check if syntax highlighting is disabled if (disable_syntax_highlighting) { - if (*cur && *cur != '\n') + while (*cur && *cur != '\n') { - cur++; + ++cur; } continue; // skip processing any further syntax highlighting } |
