aboutsummaryrefslogtreecommitdiff
path: root/pd/src/g_readwrite.c
diff options
context:
space:
mode:
Diffstat (limited to 'pd/src/g_readwrite.c')
-rw-r--r--pd/src/g_readwrite.c2
1 files changed, 1 insertions, 1 deletions
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,