diff options
author | Max Horn | 2008-07-11 20:28:50 +0000 |
---|---|---|
committer | Max Horn | 2008-07-11 20:28:50 +0000 |
commit | 7ddd961bf2ded1d9cad114ea03018d44258e9ca8 (patch) | |
tree | fb816547164973c74244261261a3c77d7e967306 /engines/scumm | |
parent | 815d75e870bc4d365cfa979f3786840eecece2ec (diff) | |
download | scummvm-rg350-7ddd961bf2ded1d9cad114ea03018d44258e9ca8.tar.gz scummvm-rg350-7ddd961bf2ded1d9cad114ea03018d44258e9ca8.tar.bz2 scummvm-rg350-7ddd961bf2ded1d9cad114ea03018d44258e9ca8.zip |
cleanup
svn-id: r33010
Diffstat (limited to 'engines/scumm')
-rw-r--r-- | engines/scumm/saveload.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/scumm/saveload.cpp b/engines/scumm/saveload.cpp index 36b82519e9..f9e4eb415c 100644 --- a/engines/scumm/saveload.cpp +++ b/engines/scumm/saveload.cpp @@ -411,15 +411,15 @@ void ScummEngine::listSavegames(bool *marks, int num) { char prefix[256]; char slot[3]; int slotNum; - Common::StringList filenames; + Common::StringList files; makeSavegameName(prefix, 99, false); prefix[strlen(prefix)-2] = '*'; prefix[strlen(prefix)-1] = 0; memset(marks, false, num * sizeof(bool)); //assume no savegames for this title - filenames = _saveFileMan->listSavefiles(prefix); + files = _saveFileMan->listSavefiles(prefix); - for (Common::StringList::const_iterator file = filenames.begin(); file != filenames.end(); file++){ + for (Common::StringList::const_iterator file = files.begin(); file != files.end(); ++file) { //Obtain the last 2 digits of the filename, since they correspond to the save slot slot[0] = file->c_str()[file->size()-2]; slot[1] = file->c_str()[file->size()-1]; |