From 4a9a0cef3baec24df9639c2d48ab7362f66f568b Mon Sep 17 00:00:00 2001 From: Andrew Kurushin Date: Sat, 28 May 2005 12:53:11 +0000 Subject: fix warning svn-id: r18285 --- common/rect.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'common') diff --git a/common/rect.h b/common/rect.h index 7c6edfc60a..b124bcd7a3 100644 --- a/common/rect.h +++ b/common/rect.h @@ -73,12 +73,12 @@ struct Rect { int16 width() const { return right - left; } int16 height() const { return bottom - top; } - void setWidth(int16 width) { - right = left + width; + void setWidth(int16 aWidth) { + right = left + aWidth; } - void setHeight(int16 height) { - bottom = top + height; + void setHeight(int16 aHeight) { + bottom = top + aHeight; } /*! @brief check if given position is inside this rectangle -- cgit v1.2.3