Fix an out-by-one error.

That "qfvalgrind" is proving worthwhile :)
This commit is contained in:
Bill Currie 2012-11-20 19:49:57 +09:00
parent d8a5d6745f
commit db92a7b9f9

View file

@ -22,7 +22,7 @@
do {
if (_objs[--i] == anObject) {
for (tmp = i; tmp < count; tmp++) {
for (tmp = i; tmp < count - 1; tmp++) {
_objs[tmp] = _objs[tmp + 1];
}
count--;