diff options
Diffstat (limited to 'composer/pattern.c')
-rw-r--r-- | composer/pattern.c | 5 |
1 files changed, 2 insertions, 3 deletions
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); } |