From 770632a4507eea0a6c7ba6f8b9381dd7dc6e2588 Mon Sep 17 00:00:00 2001 From: mescalinum Date: Tue, 18 Aug 2009 20:28:08 +0000 Subject: small fixes: - Switch to sendGui proc to support also desiredata and pd-devel - Handle null values correctly svn path=/trunk/externals/ffext/; revision=11950 --- composer/pattern.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'composer/pattern.c') diff --git a/composer/pattern.c b/composer/pattern.c index 134b802..cf1940b 100644 --- a/composer/pattern.c +++ b/composer/pattern.c @@ -88,10 +88,9 @@ static void pattern_resize(t_pattern *x, t_int newsize) { static void pattern_new_empty_row(t_pattern* x) { t_atom* rowdata = (t_atom*)getbytes(sizeof(t_atom) * x->x_track->x_ncolumns); - SETSYMBOL(&(rowdata[0]), gensym("test")); int j; - for(j = 1; j < x->x_track->x_ncolumns; j++) - SETFLOAT(&(rowdata[j]), j); + for(j = 0; j < x->x_track->x_ncolumns; j++) + SETSYMBOL(&(rowdata[j]), &s_empty); ArrayListAdd(x->x_rows, t_atom*, rowdata); } -- cgit v1.2.1