[Scummvm-cvs-logs] SF.net SVN: scummvm: [33061] scummvm/trunk/engines/scumm/detection.cpp

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Mon Jul 14 21:14:27 CEST 2008


Revision: 33061
          http://scummvm.svn.sourceforge.net/scummvm/?rev=33061&view=rev
Author:   fingolfin
Date:     2008-07-14 12:14:26 -0700 (Mon, 14 Jul 2008)

Log Message:
-----------
cleanup (and test for Marwan's branch.... ;)

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/detection.cpp

Modified: scummvm/trunk/engines/scumm/detection.cpp
===================================================================
--- scummvm/trunk/engines/scumm/detection.cpp	2008-07-14 18:54:15 UTC (rev 33060)
+++ scummvm/trunk/engines/scumm/detection.cpp	2008-07-14 19:14:26 UTC (rev 33061)
@@ -949,7 +949,7 @@
 	sort(filenames.begin(), filenames.end());	// Sort (hopefully ensuring we are sorted numerically..)
 
 	SaveStateList saveList;
-	for (Common::StringList::const_iterator file = filenames.begin(); file != filenames.end(); file++) {
+	for (Common::StringList::const_iterator file = filenames.begin(); file != filenames.end(); ++file) {
 		// Obtain the last 2 digits of the filename, since they correspond to the save slot
 		int slotNum = atoi(file->c_str() + file->size() - 2);
 		


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list