Fixed a bug in myarray_append
commit96567aebb35be85816e4d6c464e00797d704de34
authorStefan 'psYchotic' Zwanenburg <stefanhetzwaantje@gmail.com>
Fri, 31 Oct 2008 00:16:48 +0000 (31 01:16 +0100)
committerStefan 'psYchotic' Zwanenburg <stefanhetzwaantje@gmail.com>
Fri, 31 Oct 2008 00:16:48 +0000 (31 01:16 +0100)
tree3764c2f8fd7e80be79f4237f12dc848e5b3c88ef
parent9b53c8e60b28c47644e5281661e2c85cad0f70ca
Fixed a bug in myarray_append
Before this commit, appending would insert the value at an index with
the value of the array length minus one. That was wrong, we want to
insert it at the index of the actual array length.
myarray.h