aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/detection.cpp
diff options
context:
space:
mode:
authorStrangerke2011-06-26 12:07:42 +0200
committerStrangerke2011-06-26 12:07:42 +0200
commita06a75b9a41fb3ef9da2c7420ee9dee257c89cca (patch)
tree94366e3dcc6063c28e045e59293af11024689637 /engines/cge/detection.cpp
parentd5fdd094294becb49ef2adf0af00c4814c6efefe (diff)
downloadscummvm-rg350-a06a75b9a41fb3ef9da2c7420ee9dee257c89cca.tar.gz
scummvm-rg350-a06a75b9a41fb3ef9da2c7420ee9dee257c89cca.tar.bz2
scummvm-rg350-a06a75b9a41fb3ef9da2c7420ee9dee257c89cca.zip
CGE: Implement ForceExt and RCrypt. Little style cleanup.
Diffstat (limited to 'engines/cge/detection.cpp')
-rw-r--r--engines/cge/detection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cge/detection.cpp b/engines/cge/detection.cpp
index f522f872c9..bebb342c03 100644
--- a/engines/cge/detection.cpp
+++ b/engines/cge/detection.cpp
@@ -160,7 +160,7 @@ SaveStateList CGEMetaEngine::listSaves(const char *target) const {
SaveStateList saveList;
int slotNum = 0;
- for (Common::StringArray::const_iterator filename = filenames.begin(); filename != filenames.end(); ++filename) {
+ for (Common::StringArray::const_iterator filename = filenames.begin(); filename != filenames.end(); filename++) {
// Obtain the last 3 digits of the filename, since they correspond to the save slot
slotNum = atoi(filename->c_str() + filename->size() - 3);