[Scummvm-cvs-logs] CVS: tools descumm.cpp,1.23,1.24
Max Horn
fingolfin at users.sourceforge.net
Thu May 8 07:11:08 CEST 2003
Update of /cvsroot/scummvm/tools
In directory sc8-pr-cvs1:/tmp/cvs-serv15893
Modified Files:
descumm.cpp
Log Message:
oops
Index: descumm.cpp
===================================================================
RCS file: /cvsroot/scummvm/tools/descumm.cpp,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- descumm.cpp 8 May 2003 13:59:12 -0000 1.23
+++ descumm.cpp 8 May 2003 14:03:17 -0000 1.24
@@ -920,7 +920,7 @@
buf += sprintf(buf, "load");
else
buf += sprintf(buf, "nuke");
- assert(0 <= type && type <= ARRAYSIZE(resTypes));
+ assert(0 <= type && type < ARRAYSIZE(resTypes));
buf += sprintf(buf, resTypes[type]);
buf += sprintf(buf, "(%s)", resid);
} else {
@@ -928,7 +928,7 @@
buf += sprintf(buf, "lock");
else
buf += sprintf(buf, "unlock");
- assert(0 <= type && type <= ARRAYSIZE(resTypes));
+ assert(0 <= type && type < ARRAYSIZE(resTypes));
buf += sprintf(buf, resTypes[type]);
buf += sprintf(buf, "(%s)", resid);
}
More information about the Scummvm-git-logs
mailing list