diff options
author | Leyla Farazha <leyla@lindenlab.com> | 2010-01-06 16:37:06 -0800 |
---|---|---|
committer | Leyla Farazha <leyla@lindenlab.com> | 2010-01-06 16:37:06 -0800 |
commit | 95f14d73138a4f0eb9163fdc560a0dcad9564c4c (patch) | |
tree | f1824e8adcccd187ec1d9940d4aff9191a91563e /indra/llui/lllineeditor.cpp | |
parent | 2369ecc1188fc786597916a7cbf5ce681a97129f (diff) |
changing lineeditor text positioning center logic from using llceil to llround
Diffstat (limited to 'indra/llui/lllineeditor.cpp')
-rw-r--r-- | indra/llui/lllineeditor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/lllineeditor.cpp b/indra/llui/lllineeditor.cpp index a180445b0b..73e4d126f3 100644 --- a/indra/llui/lllineeditor.cpp +++ b/indra/llui/lllineeditor.cpp @@ -1608,7 +1608,7 @@ void LLLineEditor::draw() LLRect background( 0, getRect().getHeight(), getRect().getWidth(), 0 ); background.stretch( -mBorderThickness ); - S32 lineeditor_v_pad = llceil((background.getHeight() - mGLFont->getLineHeight())/2); + S32 lineeditor_v_pad = llround((background.getHeight() - mGLFont->getLineHeight())/2); drawBackground(); |