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

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Fri Jul 11 22:28:51 CEST 2008


Revision: 33010
          http://scummvm.svn.sourceforge.net/scummvm/?rev=33010&view=rev
Author:   fingolfin
Date:     2008-07-11 13:28:50 -0700 (Fri, 11 Jul 2008)

Log Message:
-----------
cleanup

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

Modified: scummvm/trunk/engines/scumm/saveload.cpp
===================================================================
--- scummvm/trunk/engines/scumm/saveload.cpp	2008-07-11 20:28:14 UTC (rev 33009)
+++ scummvm/trunk/engines/scumm/saveload.cpp	2008-07-11 20:28:50 UTC (rev 33010)
@@ -411,15 +411,15 @@
 	char prefix[256];
 	char slot[3];
 	int slotNum;
-	Common::StringList filenames;
+	Common::StringList files;
 
 	makeSavegameName(prefix, 99, false);
 	prefix[strlen(prefix)-2] = '*';
 	prefix[strlen(prefix)-1] = 0;
 	memset(marks, false, num * sizeof(bool));	//assume no savegames for this title
-	filenames = _saveFileMan->listSavefiles(prefix);
+	files = _saveFileMan->listSavefiles(prefix);
 
-	for (Common::StringList::const_iterator file = filenames.begin(); file != filenames.end(); file++){
+	for (Common::StringList::const_iterator file = files.begin(); file != files.end(); ++file) {
 		//Obtain the last 2 digits of the filename, since they correspond to the save slot
 		slot[0] = file->c_str()[file->size()-2];
 		slot[1] = file->c_str()[file->size()-1];


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