[Scummvm-cvs-logs] CVS: scummvm/common rect.h,1.25,1.26

Andrew Kurushin h00ligan at users.sourceforge.net
Sat May 28 05:54:01 CEST 2005


Update of /cvsroot/scummvm/scummvm/common
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22925

Modified Files:
	rect.h 
Log Message:
fix warning

Index: rect.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/rect.h,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- rect.h	28 May 2005 12:28:23 -0000	1.25
+++ rect.h	28 May 2005 12:53:11 -0000	1.26
@@ -73,12 +73,12 @@
 	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





More information about the Scummvm-git-logs mailing list