diff options
author | Strangerke | 2011-06-26 12:07:42 +0200 |
---|---|---|
committer | Strangerke | 2011-06-26 12:07:42 +0200 |
commit | a06a75b9a41fb3ef9da2c7420ee9dee257c89cca (patch) | |
tree | 94366e3dcc6063c28e045e59293af11024689637 /engines/cge/detection.cpp | |
parent | d5fdd094294becb49ef2adf0af00c4814c6efefe (diff) | |
download | scummvm-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.cpp | 2 |
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); |