fix implicit cast in 2ea5dc26d479 / EXT-5251

master
Tofu Linden 2010-02-16 16:41:16 +00:00
parent d2ef287e9c
commit eefdbced38
1 changed files with 3 additions and 3 deletions

View File

@ -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);