Fixed Linux build.

--HG--
branch : product-engine
meow-7.2.2
Vadim Savchuk 2010-03-03 17:38:32 +02:00
parent e0abec0012
commit ec0d5d93db
1 changed files with 1 additions and 1 deletions

View File

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