diff options
author | Max Horn | 2002-12-21 00:37:44 +0000 |
---|---|---|
committer | Max Horn | 2002-12-21 00:37:44 +0000 |
commit | b2de35ace8f80a2c5334bb68a83822ec43c51ded (patch) | |
tree | b4d04c349b422899cd2eb602967c93e124bec47d | |
parent | 368a9917f7c05a2fbb780df7634b00e57aa51ab3 (diff) | |
download | scummvm-rg350-b2de35ace8f80a2c5334bb68a83822ec43c51ded.tar.gz scummvm-rg350-b2de35ace8f80a2c5334bb68a83822ec43c51ded.tar.bz2 scummvm-rg350-b2de35ace8f80a2c5334bb68a83822ec43c51ded.zip |
cleanup
svn-id: r6035
-rw-r--r-- | scumm/dialogs.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/dialogs.cpp b/scumm/dialogs.cpp index e676c48775..a99a909266 100644 --- a/scumm/dialogs.cpp +++ b/scumm/dialogs.cpp @@ -405,12 +405,12 @@ void SaveLoadDialog::fillList() // Get savegame names ScummVM::StringList l; char name[32]; - int i = _saveMode ? 1 : 0; + uint i = _saveMode ? 1 : 0; bool avail_saves[81]; SaveFileManager *mgr = _scumm->_system->get_savefile_manager(); - _scumm->listSavegames(avail_saves, 81, mgr); - for (; i <= 80; i++) { // 80 - got this value from the old GUI + _scumm->listSavegames(avail_saves, sizeof(avail_saves), mgr); + for (; i < sizeof(avail_saves); i++) { if(avail_saves[i]) _scumm->getSavegameName(i, name, mgr); else |