minor typo in Vector.c

This commit is contained in:
ckath 2020-10-02 14:33:07 +02:00 committed by cgzones
parent 241e4b3dbf
commit 3afa5dfbcc

View File

@ -322,9 +322,9 @@ void Vector_splice(Vector* this, Vector* from) {
assert(Vector_isConsistent(from));
assert(!(this->owner && from->owner));
int olditmes = this->items;
int olditems = this->items;
this->items += from->items;
Vector_checkArraySize(this);
for (int j = 0; j < from->items; j++)
this->array[olditmes + j] = from->array[j];
this->array[olditems + j] = from->array[j];
}