diff options
author | Filippos Karapetis | 2008-11-09 21:39:41 +0000 |
---|---|---|
committer | Filippos Karapetis | 2008-11-09 21:39:41 +0000 |
commit | 03a0046b1ca870568df31288cab634f12561a0cf (patch) | |
tree | 28a1ca0531a9d44c6d754ba38ee0fe3edfe4ed3c /gui | |
parent | a5502b296f2c26498813f6565b77bdc74011024e (diff) | |
download | scummvm-rg350-03a0046b1ca870568df31288cab634f12561a0cf.tar.gz scummvm-rg350-03a0046b1ca870568df31288cab634f12561a0cf.tar.bz2 scummvm-rg350-03a0046b1ca870568df31288cab634f12561a0cf.zip |
Fixed an off-by-one error in the save slot gap filling code
svn-id: r34980
Diffstat (limited to 'gui')
-rw-r--r-- | gui/launcher.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp index d1267f8939..39d8acffbd 100644 --- a/gui/launcher.cpp +++ b/gui/launcher.cpp @@ -781,7 +781,7 @@ void SaveLoadChooser::updateSaveList() { // Fill the rest of the save slots with empty saves Common::String emptyDesc; - for (int i = curSlot + 1; i <= (*_plugin)->getMaximumSaveSlot(); i++) { + for (int i = curSlot; i <= (*_plugin)->getMaximumSaveSlot(); i++) { saveNames.push_back(emptyDesc); SaveStateDescriptor dummySave(i, ""); _saveList.push_back(dummySave); |