diff options
author | Andrew Kurushin | 2005-05-28 12:53:11 +0000 |
---|---|---|
committer | Andrew Kurushin | 2005-05-28 12:53:11 +0000 |
commit | 4a9a0cef3baec24df9639c2d48ab7362f66f568b (patch) | |
tree | 36cf4e7c5c230a3e5745525c572cdeeec1d79836 | |
parent | e27f13d164b043131b15ddbb939a8735ff45e11e (diff) | |
download | scummvm-rg350-4a9a0cef3baec24df9639c2d48ab7362f66f568b.tar.gz scummvm-rg350-4a9a0cef3baec24df9639c2d48ab7362f66f568b.tar.bz2 scummvm-rg350-4a9a0cef3baec24df9639c2d48ab7362f66f568b.zip |
fix warning
svn-id: r18285
-rw-r--r-- | common/rect.h | 8 |
1 files changed, 4 insertions, 4 deletions
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 |