diff options
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()); |