mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-19 00:15:30 +00:00
fix warning
svn-id: r18285
This commit is contained in:
parent
e27f13d164
commit
4a9a0cef3b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user