diff options
author | ckath <ckat@teknik.io> | 2020-10-02 14:33:07 +0200 |
---|---|---|
committer | cgzones <cgzones@googlemail.com> | 2020-10-02 14:39:38 +0200 |
commit | 3afa5dfbcc12c4752504504756fdf3042303440f (patch) | |
tree | 3b78410dee9d252ab2c1bf0ff4b3e3bacbb837cb /Vector.c | |
parent | 241e4b3dbf8ebee4a12a337dec725b3547c242e9 (diff) |
minor typo in Vector.c
Diffstat (limited to 'Vector.c')
-rw-r--r-- | Vector.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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]; } |