[Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,2.232,2.233 string.cpp,1.167,1.168

Pawel Kolodziejski aquadran at users.sourceforge.net
Sun Nov 16 13:27:33 CET 2003


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv5285

Modified Files:
	gfx.cpp string.cpp 
Log Message:
ops

Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/gfx.cpp,v
retrieving revision 2.232
retrieving revision 2.233
diff -u -d -r2.232 -r2.233
--- gfx.cpp	16 Nov 2003 20:52:56 -0000	2.232
+++ gfx.cpp	16 Nov 2003 21:26:10 -0000	2.233
@@ -865,7 +865,7 @@
 			byte *mask;
 			// Note: At first sight it may look as if this could
 			// be optimized to (rect.right - rect.left) / 8 and
-			// thus to width * 8, but that's not the case since
+			// thus to width / 8, but that's not the case since
 			// we are dealing with integer math here.
 			int mask_width = (rect.right / 8) - (rect.left / 8);
 

Index: string.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/string.cpp,v
retrieving revision 1.167
retrieving revision 1.168
diff -u -d -r1.167 -r1.168
--- string.cpp	16 Nov 2003 20:52:56 -0000	1.167
+++ string.cpp	16 Nov 2003 21:26:10 -0000	1.168
@@ -207,7 +207,7 @@
 	if (_charset->_center) {
 		if (t > _charset->_nextLeft)
 			t = _charset->_nextLeft;
-		t /= 2;
+		t *= 2;
 	}
 
 	buffer = _charsetBuffer + _charsetBufPos;





More information about the Scummvm-git-logs mailing list