From ec0d5d93dbde7f43c62365c0c02c1fd70456f417 Mon Sep 17 00:00:00 2001 From: Vadim Savchuk Date: Wed, 3 Mar 2010 17:38:32 +0200 Subject: Fixed Linux build. --HG-- branch : product-engine --- indra/newview/llpanelclassified.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra') 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; -- cgit v1.2.3