[Scummvm-cvs-logs] CVS: scummvm/backends/wince screen.cpp,1.7,1.8

Nicolas Bacca arisme at users.sourceforge.net
Sun Dec 1 15:30:04 CET 2002


Update of /cvsroot/scummvm/scummvm/backends/wince
In directory sc8-pr-cvs1:/tmp/cvs-serv21707

Modified Files:
	screen.cpp 
Log Message:
Do not commit buggy debug code

Index: screen.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/wince/screen.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- screen.cpp	1 Dec 2002 23:26:49 -0000	1.7
+++ screen.cpp	1 Dec 2002 23:28:11 -0000	1.8
@@ -863,19 +863,12 @@
 
 void Blt_part(UBYTE * src_ptr, int x, int y, int width, int height, int pitch, bool check) {
 
-	if (check && (y > _geometry_h || (y + height) > _geometry_h))
-		return;
-
 	if (toolbar_available && !toolbar_drawn && !hide_toolbar)
 		drawAllToolbar();
 
 	pBlt_part(src_ptr, x, y, width, height, NULL, pitch);
 
 	if (check && (y > _geometry_h || (y + height) > _geometry_h)) {
-		char message[100];
-		sprintf(message, "Override geometry : h %d y %d height %d", _geometry_h, y, height);
-		drawError(message);
-		exit(1);
 		toolbar_drawn = false;
 	}
 





More information about the Scummvm-git-logs mailing list