diff options
-rw-r--r-- | indra/llui/lltextbase.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/llui/lltextbase.cpp b/indra/llui/lltextbase.cpp index 4426bf5ddd..cb0907a771 100644 --- a/indra/llui/lltextbase.cpp +++ b/indra/llui/lltextbase.cpp @@ -1139,11 +1139,10 @@ void LLTextBase::reflow(S32 start_index) remaining_pixels -= segment_width; if (remaining_pixels < 0) { + // getNumChars() and getDimensions() should return consistent results remaining_pixels = 0; } - // getNumChars() and getDimensions() should return consistent results - llassert_always(remaining_pixels >= 0); seg_offset += character_count; S32 last_segment_char_on_line = segment->getStart() + seg_offset; |