summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-02-16 16:41:16 +0000
committerTofu Linden <tofu.linden@lindenlab.com>2010-02-16 16:41:16 +0000
commiteefdbced383333b75fbe6b2f338c6db74f68d018 (patch)
treee405b4b2044ce24fedf54c566aa19fe52846ad7b /indra/newview
parentd2ef287e9c62dbf179ba624e60b882cfc59bb8ca (diff)
fix implicit cast in 2ea5dc26d479 / EXT-5251
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llfolderview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llfolderview.cpp b/indra/newview/llfolderview.cpp
index 888ddbcbc7..68faaeaa0b 100644
--- a/indra/newview/llfolderview.cpp
+++ b/indra/newview/llfolderview.cpp
@@ -236,9 +236,9 @@ LLFolderView::LLFolderView(const Params& p)
LLTextBox::Params text_p;
LLFontGL* font = getLabelFontForStyle(mLabelStyle);
LLRect new_r = LLRect(rect.mLeft + ICON_PAD,
- rect.mTop - TEXT_PAD,
- rect.mRight,
- rect.mTop - TEXT_PAD - font->getLineHeight());
+ rect.mTop - TEXT_PAD,
+ rect.mRight,
+ rect.mTop - TEXT_PAD - llfloor(font->getLineHeight()));
text_p.rect(new_r);
text_p.name(std::string(p.name));
text_p.font(font);