summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vector.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vector.c b/src/vector.c
index bce070e..5ea893a 100644
--- a/src/vector.c
+++ b/src/vector.c
@@ -124,5 +124,5 @@ void vector_remove(vector_t *v, unsigned n)
v->count--;
for (i = n; i < v->count; i++)
- v->data[i + 1] = v->data[i];
+ v->data[i] = v->data[i + 1];
}