mirror of
https://github.com/xzeldon/htop.git
synced 2024-12-23 22:55:46 +00:00
minor typo in Vector.c
This commit is contained in:
parent
241e4b3dbf
commit
3afa5dfbcc
4
Vector.c
4
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];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user