summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/include/fxcrt/fx_coordinates.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/include/fxcrt/fx_coordinates.h b/core/include/fxcrt/fx_coordinates.h
index e2800ffdb0..2cd249310e 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; }