diff options
| author | Vadim Savchuk <vsavchuk@productengine.com> | 2009-12-10 16:06:01 +0200 | 
|---|---|---|
| committer | Vadim Savchuk <vsavchuk@productengine.com> | 2009-12-10 16:06:01 +0200 | 
| commit | 6f5b47a4e7128d8e7b2f8a46c498a971ad39900e (patch) | |
| tree | 181b43d1a870bff0863e3f7c0a4a752993cc9d4e /indra/llui/lltextbase.cpp | |
| parent | 4df594defc4ad7f21139d99fb95197a0aa78854b (diff) | |
| parent | 562d343c47570731664b34507359c823cfcbd634 (diff) | |
Merge from default branch.
--HG--
branch : product-engine
Diffstat (limited to 'indra/llui/lltextbase.cpp')
| -rw-r--r-- | indra/llui/lltextbase.cpp | 2 | 
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 | 
