diff options
Diffstat (limited to 'engines/kyra/detection.cpp')
-rw-r--r-- | engines/kyra/detection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/kyra/detection.cpp b/engines/kyra/detection.cpp index 002f9dee09..be3cd2bf3a 100644 --- a/engines/kyra/detection.cpp +++ b/engines/kyra/detection.cpp @@ -1321,12 +1321,12 @@ SaveStateList KyraMetaEngine::listSaves(const char *target) const { Common::String pattern = target; pattern += ".???"; - Common::StringList filenames; + Common::StringArray filenames; filenames = saveFileMan->listSavefiles(pattern); Common::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::StringArray::const_iterator file = filenames.begin(); file != filenames.end(); ++file) { // Obtain the last 3 digits of the filename, since they correspond to the save slot int slotNum = atoi(file->c_str() + file->size() - 3); |