[Scummvm-cvs-logs] CVS: scummvm/common file.cpp,1.29,1.30

Max Horn fingolfin at users.sourceforge.net
Wed May 21 10:30:19 CEST 2003


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

Modified Files:
	file.cpp 
Log Message:
added fixme comment

Index: file.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/file.cpp,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- file.cpp	19 May 2003 19:19:32 -0000	1.29
+++ file.cpp	21 May 2003 17:29:51 -0000	1.30
@@ -273,6 +273,9 @@
 		return 0;
 
 	if (_encbyte != 0) {
+		// Maybe FIXME: while it's efficient to do the encoding here,
+		// it not really nice for a write function to modify its input.
+		// Maybe we should work on a copy here...
 		uint32 t_size = len;
 		do {
 			*ptr2++ ^= _encbyte;





More information about the Scummvm-git-logs mailing list