[Scummvm-cvs-logs] CVS: scummvm/common config-file.cpp,1.23,1.24

Max Horn fingolfin at users.sourceforge.net
Sun Apr 24 15:42:08 CEST 2005


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

Modified Files:
	config-file.cpp 
Log Message:
Some C++ compilers don't support the 'not' keyword, it seems

Index: config-file.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/config-file.cpp,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- config-file.cpp	24 Apr 2005 03:58:12 -0000	1.23
+++ config-file.cpp	24 Apr 2005 22:41:21 -0000	1.24
@@ -173,7 +173,7 @@
 bool ConfigFile::saveToStream(WriteStream &stream) {
 	for (List<Section>::iterator i = _sections.begin(); i != _sections.end(); ++i) {
 		// Write out the section comment, if any
-		if (not i->comment.isEmpty()) {
+		if (! i->comment.isEmpty()) {
 			stream.writeString(i->comment);
 		}
 
@@ -186,7 +186,7 @@
 		// Write out the key/value pairs
 		for (List<KeyValue>::iterator kv = i->keys.begin(); kv != i->keys.end(); ++kv) {
 			// Write out the comment, if any
-			if (not kv->comment.isEmpty()) {
+			if (! kv->comment.isEmpty()) {
 				stream.writeString(kv->comment);
 			}
 			// Write out the key/value pair





More information about the Scummvm-git-logs mailing list