summaryrefslogtreecommitdiff
path: root/include/touch/touch.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/touch/touch.h')
-rw-r--r--include/touch/touch.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/touch/touch.h b/include/touch/touch.h
index f9f6e2dc3548..3f5beb0c138d 100644
--- a/include/touch/touch.h
+++ b/include/touch/touch.h
@@ -141,8 +141,8 @@ CGSizeToMLOPixelSize(CGSize cgSize)
CG_INLINE CGSize
MLOPixelsToCGSize(MLOPixel width, MLOPixel height)
{
- CGFloat fWidth = CGFloatToMLOPixel(width);
- CGFloat fHeight = CGFloatToMLOPixel(height);
+ CGFloat fWidth = MLOPixelToCGFloat(width);
+ CGFloat fHeight = MLOPixelToCGFloat(height);
return CGSizeMake(fWidth, fHeight);
}