Index: core/include/fxcrt/fx_coordinates.h |
diff --git a/core/include/fxcrt/fx_coordinates.h b/core/include/fxcrt/fx_coordinates.h |
index e2800ffdb09eda6e2d9b5bb85870f040a7fb8ea9..2cd249310e8e2b2fa9dd43f574201723182fd1c0 100644 |
--- a/core/include/fxcrt/fx_coordinates.h |
+++ b/core/include/fxcrt/fx_coordinates.h |
@@ -143,8 +143,8 @@ struct FX_RECT { |
FX_RECT(int l, int t, int r, int b) : left(l), top(t), right(r), bottom(b) {} |
- explicit FX_RECT(const FX_SMALL_RECT& small) |
- : FX_RECT(small.left, small.top, small.right, small.bottom) {} |
+ explicit FX_RECT(const FX_SMALL_RECT& other) |
+ : FX_RECT(other.left, other.top, other.right, other.bottom) {} |
int Width() const { return right - left; } |
int Height() const { return bottom - top; } |