Fixed the mistake int ScaledPixelBuffer::getScale().
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@659 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/common/rfb/ScaledPixelBuffer.h b/common/rfb/ScaledPixelBuffer.h
index 7ac3187..710e543 100644
--- a/common/rfb/ScaledPixelBuffer.h
+++ b/common/rfb/ScaledPixelBuffer.h
@@ -48,7 +48,7 @@
int getSrcWidth() const { return src_width; }
int getSrcHeight() const { return src_height; }
int area() const { return scaled_width * scaled_height; }
- int getScale() const { return int(scale_ratio + 0.5); }
+ int getScale() const { return int(scale_ratio * 100 + 0.5); }
double getScaleRatio() const { return scale_ratio; }
// Get rectangle encompassing this buffer