summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorVadim Savchuk <vsavchuk@productengine.com>2010-03-03 17:38:32 +0200
committerVadim Savchuk <vsavchuk@productengine.com>2010-03-03 17:38:32 +0200
commitec0d5d93dbde7f43c62365c0c02c1fd70456f417 (patch)
treea11c28b1c351ae8b1f40784b30d871a031f5b2c0 /indra/newview
parente0abec0012cb36ea85d1d967661d29a653fdc3be (diff)
Fixed Linux build.
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llpanelclassified.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpanelclassified.cpp b/indra/newview/llpanelclassified.cpp
index 24cdcadb7c..afdc27e74e 100644
--- a/indra/newview/llpanelclassified.cpp
+++ b/indra/newview/llpanelclassified.cpp
@@ -1412,7 +1412,7 @@ void LLPanelClassifiedInfo::stretchSnapshot()
t_width *= ratio;
t_height *= ratio;
- rc.setCenterAndSize(rc.getCenterX(), rc.getCenterY(), t_width, t_height);
+ rc.setCenterAndSize(rc.getCenterX(), rc.getCenterY(), llfloor(t_width), llfloor(t_height));
texture_ctrl->setRect(rc);
mSnapshotStreched = true;