aboutsummaryrefslogtreecommitdiff
path: root/engines/toltecs/menu.cpp
diff options
context:
space:
mode:
authorBenjamin Haisch2010-03-22 12:14:11 +0000
committerWillem Jan Palenstijn2011-11-20 22:43:09 +0100
commit34eb899b25edb462267b3a0593fd4b3f324b3546 (patch)
treef009287add12f69e3a247d79b6af92cf1c79ae4d /engines/toltecs/menu.cpp
parent0d1a9148f3a24be60c4924875886a2ff60624b77 (diff)
downloadscummvm-rg350-34eb899b25edb462267b3a0593fd4b3f324b3546.tar.gz
scummvm-rg350-34eb899b25edb462267b3a0593fd4b3f324b3546.tar.bz2
scummvm-rg350-34eb899b25edb462267b3a0593fd4b3f324b3546.zip
TOLTECS: Fixed compilation
Diffstat (limited to 'engines/toltecs/menu.cpp')
-rw-r--r--engines/toltecs/menu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/toltecs/menu.cpp b/engines/toltecs/menu.cpp
index e433025971..0fe8d767f0 100644
--- a/engines/toltecs/menu.cpp
+++ b/engines/toltecs/menu.cpp
@@ -439,11 +439,11 @@ void MenuSystem::initSavegames() {
Common::String pattern = _vm->getTargetName();
pattern += ".???";
- Common::StringList filenames;
+ Common::StringArray filenames;
filenames = saveFileMan->listSavefiles(pattern.c_str());
Common::sort(filenames.begin(), filenames.end()); // Sort (hopefully ensuring we are sorted numerically..)
- for (Common::StringList::const_iterator file = filenames.begin(); file != filenames.end(); file++) {
+ for (Common::StringArray::const_iterator file = filenames.begin(); file != filenames.end(); file++) {
Common::InSaveFile *in = saveFileMan->openForLoading(file->c_str());
if (in) {
if (_vm->readSaveHeader(in, false, header) == Toltecs::ToltecsEngine::kRSHENoError) {