aboutsummaryrefslogtreecommitdiff
path: root/engines/lure/detection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/lure/detection.cpp')
-rw-r--r--engines/lure/detection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/lure/detection.cpp b/engines/lure/detection.cpp
index 598a6454ff..2db489884f 100644
--- a/engines/lure/detection.cpp
+++ b/engines/lure/detection.cpp
@@ -242,7 +242,7 @@ bool LureMetaEngine::createInstance(OSystem *syst, Engine **engine, const ADGame
SaveStateList LureMetaEngine::listSaves(const char *target) const {
Common::SaveFileManager *saveFileMan = g_system->getSavefileManager();
- Common::StringList filenames;
+ Common::StringArray filenames;
Common::String saveDesc;
Common::String pattern = "lure.???";
@@ -250,7 +250,7 @@ SaveStateList LureMetaEngine::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::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);