diff options
author | Max Horn | 2002-12-21 00:55:45 +0000 |
---|---|---|
committer | Max Horn | 2002-12-21 00:55:45 +0000 |
commit | f2fe67fbdb535b43ddee032a1a322dc2631f530b (patch) | |
tree | c5fcebe5de2873199382695ac52ef1853107df5b | |
parent | b2de35ace8f80a2c5334bb68a83822ec43c51ded (diff) | |
download | scummvm-rg350-f2fe67fbdb535b43ddee032a1a322dc2631f530b.tar.gz scummvm-rg350-f2fe67fbdb535b43ddee032a1a322dc2631f530b.tar.bz2 scummvm-rg350-f2fe67fbdb535b43ddee032a1a322dc2631f530b.zip |
fixed save again, stupid me
svn-id: r6036
-rw-r--r-- | scumm/dialogs.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/dialogs.cpp b/scumm/dialogs.cpp index a99a909266..a7d89c1aa3 100644 --- a/scumm/dialogs.cpp +++ b/scumm/dialogs.cpp @@ -409,8 +409,8 @@ void SaveLoadDialog::fillList() bool avail_saves[81]; SaveFileManager *mgr = _scumm->_system->get_savefile_manager(); - _scumm->listSavegames(avail_saves, sizeof(avail_saves), mgr); - for (; i < sizeof(avail_saves); i++) { + _scumm->listSavegames(avail_saves, ARRAYSIZE(avail_saves), mgr); + for (; i < ARRAYSIZE(avail_saves); i++) { if(avail_saves[i]) _scumm->getSavegameName(i, name, mgr); else |