[Scummvm-cvs-logs] SF.net SVN: scummvm:[47504] scummvm/trunk/engines/kyra/gui_lol.cpp
eriktorbjorn at users.sourceforge.net
eriktorbjorn at users.sourceforge.net
Sun Jan 24 18:24:11 CET 2010
Revision: 47504
http://scummvm.svn.sourceforge.net/scummvm/?rev=47504&view=rev
Author: eriktorbjorn
Date: 2010-01-24 17:24:11 +0000 (Sun, 24 Jan 2010)
Log Message:
-----------
Fixed warning.
Modified Paths:
--------------
scummvm/trunk/engines/kyra/gui_lol.cpp
Modified: scummvm/trunk/engines/kyra/gui_lol.cpp
===================================================================
--- scummvm/trunk/engines/kyra/gui_lol.cpp 2010-01-24 16:40:37 UTC (rev 47503)
+++ scummvm/trunk/engines/kyra/gui_lol.cpp 2010-01-24 17:24:11 UTC (rev 47504)
@@ -2580,7 +2580,7 @@
slotOffs = 1;
}
- for (int i = startSlot; i < num && uint(_savegameOffset + i - slotOffs) < _savegameListSize; ++i) {
+ for (int i = startSlot; i < num && _savegameOffset + i - slotOffs < _savegameListSize; ++i) {
if (_savegameList[_saveSlots[i + _savegameOffset - slotOffs]]) {
strncpy(s, _savegameList[_saveSlots[i + _savegameOffset - slotOffs]], 80);
s[79] = 0;
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