diff options
author | Richard Linden <none@none> | 2012-03-22 10:58:04 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2012-03-22 10:58:04 -0700 |
commit | d6d1cb852d014dd002656ed35537975ebb6300b0 (patch) | |
tree | 0e432c855eb3105e2c1e2bd67a3010b6c73f7b50 /indra/newview/lluploaddialog.cpp | |
parent | b187aeb8f177bd76e792652e773617beff18b47b (diff) | |
parent | 71db6d1b91cb8a62959a63ae36d3727e48439245 (diff) |
Automated merge with http://hg.secondlife.com/viewer-release
Diffstat (limited to 'indra/newview/lluploaddialog.cpp')
-rw-r--r-- | indra/newview/lluploaddialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lluploaddialog.cpp b/indra/newview/lluploaddialog.cpp index df7c5be0d6..e59064c074 100644 --- a/indra/newview/lluploaddialog.cpp +++ b/indra/newview/lluploaddialog.cpp @@ -115,7 +115,7 @@ void LLUploadDialog::setMessage( const std::string& msg) token = strtok( NULL, "\n" ); } - S32 line_height = S32( font->getLineHeight() + 0.99f ); + S32 line_height = font->getLineHeight(); S32 dialog_width = max_msg_width + 2 * HPAD; S32 dialog_height = line_height * msg_lines.size() + 2 * VPAD; |