[Scummvm-cvs-logs] CVS: scummvm/common rect.h,1.8,1.9

Max Horn fingolfin at users.sourceforge.net
Fri May 23 10:02:06 CEST 2003


Update of /cvsroot/scummvm/scummvm/common
In directory sc8-pr-cvs1:/tmp/cvs-serv398

Modified Files:
	rect.h 
Log Message:
oops, fixed ScummVM::Rect constructor (this fixes various string redraw bugs)

Index: rect.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/rect.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- rect.h	15 May 2003 22:27:09 -0000	1.8
+++ rect.h	23 May 2003 17:01:35 -0000	1.9
@@ -53,7 +53,7 @@
 
 	Rect() : top(0), left(0), bottom(0), right(0) {}
 	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) {}
+	Rect(int16 x1, int16 y1, int16 x2, int16 y2) : top(y1), left(x1), bottom(y2), right(x2) {}
 	int16 width() const { return right - left; }
 	int16 height() const { return bottom - top; }
 





More information about the Scummvm-git-logs mailing list