diff options
author | Johannes Schickel | 2016-03-01 19:17:59 +0100 |
---|---|---|
committer | Johannes Schickel | 2016-03-01 19:18:36 +0100 |
commit | b6a8907edf0d604aa37300f4d1485d8d6e542994 (patch) | |
tree | b494eed67cc8f7326f9985bbc8dbaeb250bf9c98 /engines | |
parent | b8fb9e6a51606aa674c4897dddad6c0922e5137d (diff) | |
download | scummvm-rg350-b6a8907edf0d604aa37300f4d1485d8d6e542994.tar.gz scummvm-rg350-b6a8907edf0d604aa37300f4d1485d8d6e542994.tar.bz2 scummvm-rg350-b6a8907edf0d604aa37300f4d1485d8d6e542994.zip |
SCI: Cleanup: Use Common::StringArray instead of custom type.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/resource.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/resource.cpp b/engines/sci/resource.cpp index 7fb09fe69e..6a5af1a6d6 100644 --- a/engines/sci/resource.cpp +++ b/engines/sci/resource.cpp @@ -586,10 +586,10 @@ int ResourceManager::addAppropriateSources() { #endif } else if (Common::MacResManager::exists("Data1")) { // Mac SCI1.1+ file naming scheme - Common::Array<Common::String> files; + Common::StringArray files; Common::MacResManager::listFiles(files, "Data?"); - for (Common::Array<Common::String>::const_iterator x = files.begin(); x != files.end(); ++x) { + for (Common::StringArray::const_iterator x = files.begin(); x != files.end(); ++x) { addSource(new MacResourceForkResourceSource(*x, atoi(x->c_str() + 4))); } |