diff options
author | D G Turner | 2011-05-30 04:14:46 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2015-12-27 15:39:52 +0100 |
commit | 0ee543b9fb6525aa1401599fb451f62636d3425c (patch) | |
tree | 30fdf390a111a1da42465994765543a56bfecf2a /engines/wage | |
parent | 9d448131c5ca4718cf2aa6a23c1515156db8cc8d (diff) | |
download | scummvm-rg350-0ee543b9fb6525aa1401599fb451f62636d3425c.tar.gz scummvm-rg350-0ee543b9fb6525aa1401599fb451f62636d3425c.tar.bz2 scummvm-rg350-0ee543b9fb6525aa1401599fb451f62636d3425c.zip |
WAGE: StringList Replaced by StringArray...
Signed-off-by: Eugene Sandulenko <sev@scummvm.org>
Diffstat (limited to 'engines/wage')
-rw-r--r-- | engines/wage/detection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wage/detection.cpp b/engines/wage/detection.cpp index 8f1b623aff..976ec0fee6 100644 --- a/engines/wage/detection.cpp +++ b/engines/wage/detection.cpp @@ -138,7 +138,7 @@ bool WageMetaEngine::createInstance(OSystem *syst, Engine **engine, const ADGame SaveStateList WageMetaEngine::listSaves(const char *target) const { const uint32 WAGEflag = MKTAG('W','A','G','E'); Common::SaveFileManager *saveFileMan = g_system->getSavefileManager(); - Common::StringList filenames; + Common::StringArray filenames; char saveDesc[31]; Common::String pattern = target; pattern += ".???"; @@ -147,7 +147,7 @@ SaveStateList WageMetaEngine::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); |