[Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,2.337,2.338

Torbjörn Andersson eriktorbjorn at users.sourceforge.net
Sun Sep 26 05:53:31 CEST 2004


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

Modified Files:
	gfx.cpp 
Log Message:
I think this fixes bug #1034519


Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/gfx.cpp,v
retrieving revision 2.337
retrieving revision 2.338
diff -u -d -r2.337 -r2.338
--- gfx.cpp	26 Sep 2004 08:50:09 -0000	2.337
+++ gfx.cpp	26 Sep 2004 12:49:43 -0000	2.338
@@ -458,8 +458,8 @@
 	assert(_textSurface.pixels);
 	assert(_compositeBuf);
 	
-	if (width > vs->w);
-		width = vs->w;
+	if (width > vs->w - x);
+		width = vs->w - x;
 
 	// Clip to the visible part of the scene
 	if (top < _vm->_screenTop)





More information about the Scummvm-git-logs mailing list