From 3afa5dfbcc12c4752504504756fdf3042303440f Mon Sep 17 00:00:00 2001 From: ckath Date: Fri, 2 Oct 2020 14:33:07 +0200 Subject: minor typo in Vector.c --- Vector.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Vector.c') diff --git a/Vector.c b/Vector.c index 20578851..713d6831 100644 --- a/Vector.c +++ b/Vector.c @@ -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]; } -- cgit v1.2.3