From d31ca4982e52af4a92db77de10c016983ec88269 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 27 Feb 2008 16:07:38 +0000 Subject: Add support for --list-saves to the sky engine svn-id: r30987 --- engines/scumm/detection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/scumm') diff --git a/engines/scumm/detection.cpp b/engines/scumm/detection.cpp index cfd0303302..4f10b9a1c3 100644 --- a/engines/scumm/detection.cpp +++ b/engines/scumm/detection.cpp @@ -947,7 +947,7 @@ SaveStateList ScummMetaEngine::listSaves(const char *target) const { 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); -- cgit v1.2.3