aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMax Horn2008-07-14 19:14:26 +0000
committerMax Horn2008-07-14 19:14:26 +0000
commitc25c406c00175155f635aa1e1d37adb5e37cdb4c (patch)
tree7eac49f179357cc75dc853a32e9b0aca04b944ca /engines
parentc48f3ca8d8341d642690dbeb0207b77ecd58d291 (diff)
downloadscummvm-rg350-c25c406c00175155f635aa1e1d37adb5e37cdb4c.tar.gz
scummvm-rg350-c25c406c00175155f635aa1e1d37adb5e37cdb4c.tar.bz2
scummvm-rg350-c25c406c00175155f635aa1e1d37adb5e37cdb4c.zip
cleanup (and test for Marwan's branch.... ;)
svn-id: r33061
Diffstat (limited to 'engines')
-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 753ad45212..68d3010199 100644
--- a/engines/scumm/detection.cpp
+++ b/engines/scumm/detection.cpp
@@ -949,7 +949,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);