diff options
author | Willem Jan Palenstijn | 2008-09-15 06:51:15 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2008-09-15 06:51:15 +0000 |
commit | 00464817637ec738fd9b62e83b203c017009edc2 (patch) | |
tree | 2fff6e53577324aea8f465cc3229fa1623385bd9 /engines | |
parent | c1458bd2bb75bacee89ee5b2bd4bbaf059870e08 (diff) | |
download | scummvm-rg350-00464817637ec738fd9b62e83b203c017009edc2.tar.gz scummvm-rg350-00464817637ec738fd9b62e83b203c017009edc2.tar.bz2 scummvm-rg350-00464817637ec738fd9b62e83b203c017009edc2.zip |
fix listSaveGames
svn-id: r34552
Diffstat (limited to 'engines')
-rw-r--r-- | engines/scumm/saveload.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/saveload.cpp b/engines/scumm/saveload.cpp index 8eed9fba18..4550c25ce7 100644 --- a/engines/scumm/saveload.cpp +++ b/engines/scumm/saveload.cpp @@ -421,8 +421,8 @@ void ScummEngine::listSavegames(bool *marks, int num) { Common::StringList files; Common::String prefix = makeSavegameName(99, false); - prefix.setChar(prefix.size()-2, '*'); - prefix.setChar(prefix.size()-1, 0); + prefix.setChar('*', prefix.size()-2); + prefix.setChar(0, prefix.size()-1); memset(marks, false, num * sizeof(bool)); //assume no savegames for this title files = _saveFileMan->listSavefiles(prefix.c_str()); |