aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorMax Horn2008-02-27 16:07:38 +0000
committerMax Horn2008-02-27 16:07:38 +0000
commitd31ca4982e52af4a92db77de10c016983ec88269 (patch)
treed83d3148d5841c9d786b3f9ea6d522c9efc55303 /engines/scumm
parentd4e9661809a663b894cbcb2ef932165e239df2fb (diff)
downloadscummvm-rg350-d31ca4982e52af4a92db77de10c016983ec88269.tar.gz
scummvm-rg350-d31ca4982e52af4a92db77de10c016983ec88269.tar.bz2
scummvm-rg350-d31ca4982e52af4a92db77de10c016983ec88269.zip
Add support for --list-saves to the sky engine
svn-id: r30987
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/detection.cpp2
1 files changed, 1 insertions, 1 deletions
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);