From a346d52dfffc44999d3f10226642f7baa9c5463b Mon Sep 17 00:00:00 2001 From: Miller Puckette Date: Sun, 28 Nov 2004 21:20:43 +0000 Subject: unified "array" and "struct array" code. Vast changes to "g_array.c" and "g_template.c", and many smaller changes to various files. Not yet well tested. svn path=/trunk/; revision=2341 --- pd/src/g_readwrite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pd/src/g_readwrite.c') diff --git a/pd/src/g_readwrite.c b/pd/src/g_readwrite.c index 77c05126..7a3a161c 100644 --- a/pd/src/g_readwrite.c +++ b/pd/src/g_readwrite.c @@ -81,7 +81,7 @@ static void glist_readatoms(t_glist *x, int natoms, t_atom *vec, /* empty line terminates array */ if (!nline) break; - array_resize(a, arraytemplate, nitems + 1); + array_resize(a, nitems + 1); element = (t_word *)(((char *)a->a_vec) + nitems * elemsize); glist_readatoms(x, natoms, vec, p_nextmsg, arraytemplatesym, -- cgit v1.2.1