[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


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
 		





More information about the Scummvm-git-logs mailing list