diff options
author | richard <none@none> | 2009-11-25 20:11:04 -0800 |
---|---|---|
committer | richard <none@none> | 2009-11-25 20:11:04 -0800 |
commit | 9d52d15db8b61ff3172fadb1b82cd39f892251c5 (patch) | |
tree | af5a421945654da428fb07708737664cb625f646 /indra/llui/lltextbase.cpp | |
parent | 4885ddab8d729dd036155e479f1ce2221074a4ac (diff) |
fix for ellipses on a single line
Diffstat (limited to 'indra/llui/lltextbase.cpp')
-rw-r--r-- | indra/llui/lltextbase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/lltextbase.cpp b/indra/llui/lltextbase.cpp index 02fcac8f69..64164df17f 100644 --- a/indra/llui/lltextbase.cpp +++ b/indra/llui/lltextbase.cpp @@ -545,7 +545,7 @@ void LLTextBase::drawText() LLRect text_rect(line.mRect.mLeft + mTextRect.mLeft - scrolled_view_rect.mLeft, line.mRect.mTop - scrolled_view_rect.mBottom + mTextRect.mBottom, - line.mRect.mRight - scrolled_view_rect.mLeft, + llmin(mDocumentView->getRect().getWidth(), line.mRect.mRight) - scrolled_view_rect.mLeft, line.mRect.mBottom - scrolled_view_rect.mBottom + mTextRect.mBottom); // draw a single line of text |