aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
authorTorbjörn Andersson2010-01-24 17:24:11 +0000
committerTorbjörn Andersson2010-01-24 17:24:11 +0000
commit45cbc7b265708129b77543c89555edcd28555ad7 (patch)
tree855856bb25cfbfd0cac38c3b5ae103a6fe0e132d /engines/kyra
parent34581f12e4402e9fa66fa66c3b927f4e0928dd47 (diff)
downloadscummvm-rg350-45cbc7b265708129b77543c89555edcd28555ad7.tar.gz
scummvm-rg350-45cbc7b265708129b77543c89555edcd28555ad7.tar.bz2
scummvm-rg350-45cbc7b265708129b77543c89555edcd28555ad7.zip
Fixed warning.
svn-id: r47504
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/gui_lol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/gui_lol.cpp b/engines/kyra/gui_lol.cpp
index ad0d791cd9..a96c40d1f8 100644
--- a/engines/kyra/gui_lol.cpp
+++ b/engines/kyra/gui_lol.cpp
@@ -2580,7 +2580,7 @@ void GUI_LoL::setupSaveMenuSlots(Menu &menu, int num) {
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;