diff options
author | Richard Linden <none@none> | 2012-02-01 13:03:46 -0800 |
---|---|---|
committer | Richard Linden <none@none> | 2012-02-01 13:03:46 -0800 |
commit | 5a14a67e060e7f325025e924c83489cfa236e3dc (patch) | |
tree | 2ba0a3d0c746a5f0322f9749e57920784e949ce6 /indra/llui | |
parent | b3960899066156bc7d3fd5befb2f7e687a328152 (diff) |
converted a bunch of narrowing implicit conversions to explicit
Diffstat (limited to 'indra/llui')
-rw-r--r-- | indra/llui/lldraghandle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/lldraghandle.cpp b/indra/llui/lldraghandle.cpp index 5f69c6af31..42e6c3c786 100644 --- a/indra/llui/lldraghandle.cpp +++ b/indra/llui/lldraghandle.cpp @@ -244,7 +244,7 @@ void LLDragHandleTop::reshapeTitleBox() const LLFontGL* font = LLFontGL::getFontSansSerif(); S32 title_width = getRect().getWidth(); title_width -= LEFT_PAD + 2 * BORDER_PAD + getButtonsRect().getWidth(); - S32 title_height = font->getLineHeight(); + S32 title_height = llround(font->getLineHeight()); LLRect title_rect; title_rect.setLeftTopAndSize( LEFT_PAD, |