[Scummvm-cvs-logs] SF.net SVN: scummvm:[34980] scummvm/trunk/gui/launcher.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Sun Nov 9 22:39:41 CET 2008
Revision: 34980
http://scummvm.svn.sourceforge.net/scummvm/?rev=34980&view=rev
Author: thebluegr
Date: 2008-11-09 21:39:41 +0000 (Sun, 09 Nov 2008)
Log Message:
-----------
Fixed an off-by-one error in the save slot gap filling code
Modified Paths:
--------------
scummvm/trunk/gui/launcher.cpp
Modified: scummvm/trunk/gui/launcher.cpp
===================================================================
--- scummvm/trunk/gui/launcher.cpp 2008-11-09 21:20:44 UTC (rev 34979)
+++ scummvm/trunk/gui/launcher.cpp 2008-11-09 21:39:41 UTC (rev 34980)
@@ -781,7 +781,7 @@
// 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);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list