diff options
author | cathook <cat.hook31894@gmail.com> | 2013-11-26 00:37:47 +0800 |
---|---|---|
committer | cathook <cat.hook31894@gmail.com> | 2013-11-26 00:37:47 +0800 |
commit | 26c94be87918db604868f445f92b9acfc605366f (patch) | |
tree | 77bc29523ff3d1c0074582605405b42c27322b18 | |
parent | df9f54f3218d1360844c42f9a15e7a75b628de9d (diff) | |
download | ctl-26c94be87918db604868f445f92b9acfc605366f.tar.gz ctl-26c94be87918db604868f445f92b9acfc605366f.tar.zst ctl-26c94be87918db604868f445f92b9acfc605366f.zip |
fix a bug
-rw-r--r-- | src/vector.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vector.c b/src/vector.c index 7203867..37c1fa7 100644 --- a/src/vector.c +++ b/src/vector.c @@ -107,7 +107,7 @@ int ctl_vector_delBackX(ppvoid v){ int ctl_vector_catX(ppvoid v, ppcvoid v2){ int count0 = getHeader(*v)->use_count; - int count2 = getHeader(*v)->use_count; + int count2 = getHeader(*v2)->use_count; ctl_vector_setSize(v, count0 + count2); int i; for(i = 0; i < count2; i++) |