[Scummvm-cvs-logs] CVS: scummvm/common rect.h,1.7,1.8
Max Horn
fingolfin at users.sourceforge.net
Thu May 15 15:28:02 CEST 2003
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/common rect.h,1.6,1.7
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm charset.cpp,2.28,2.29 charset.h,2.14,2.15 gfx.cpp,2.103,2.104 gfx.h,1.28,1.29 saveload.cpp,1.68,1.69 script_v8.cpp,2.156,2.157 scumm.h,1.191,1.192 string.cpp,1.111,1.112 verbs.cpp,1.37,1.38
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/common
In directory sc8-pr-cvs1:/tmp/cvs-serv23201/common
Modified Files:
rect.h
Log Message:
oops
Index: rect.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/rect.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- rect.h 15 May 2003 22:15:24 -0000 1.7
+++ rect.h 15 May 2003 22:27:09 -0000 1.8
@@ -55,7 +55,7 @@
Rect(int16 x, int16 y) : top(0), left(0), bottom(x), right(y) {}
Rect(int16 x1, int16 y1, int16 x2, int16 y2) : top(x1), left(y1), bottom(x2), right(y2) {}
int16 width() const { return right - left; }
- int16 height() const { return top - bottom; }
+ int16 height() const { return bottom - top; }
/*! @brief check if given position is inside this rectangle
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/common rect.h,1.6,1.7
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm charset.cpp,2.28,2.29 charset.h,2.14,2.15 gfx.cpp,2.103,2.104 gfx.h,1.28,1.29 saveload.cpp,1.68,1.69 script_v8.cpp,2.156,2.157 scumm.h,1.191,1.192 string.cpp,1.111,1.112 verbs.cpp,1.37,1.38
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list