summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2009-12-09 08:44:44 -0800
committerJames Cook <james@lindenlab.com>2009-12-09 08:44:44 -0800
commita4dc0881aaabc60aeccab771a4797d9affffc9b0 (patch)
treeff5a07ab7d3fc942d0b009e91ce87020f2bae549 /indra/llui
parentb93fb9f31954b4851a13bd3070661537f9359b00 (diff)
parentcefa8e4f54e4aa1b8d23fcdc4240219c266b568b (diff)
Merge
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/lltextbase.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llui/lltextbase.cpp b/indra/llui/lltextbase.cpp
index 2a9515171a..e0503a0844 100644
--- a/indra/llui/lltextbase.cpp
+++ b/indra/llui/lltextbase.cpp
@@ -2080,6 +2080,8 @@ void LLTextBase::updateRects()
}
mContentsRect.mTop += mVPad;
+ // subtract a pixel off the bottom to deal with rounding errors in measuring font height
+ mContentsRect.mBottom -= 1;
S32 delta_pos = -mContentsRect.mBottom;
// move line segments to fit new document rect