diff options
author | mescalinum <mescalinum@users.sourceforge.net> | 2009-08-18 20:28:08 +0000 |
---|---|---|
committer | mescalinum <mescalinum@users.sourceforge.net> | 2009-08-18 20:28:08 +0000 |
commit | 770632a4507eea0a6c7ba6f8b9381dd7dc6e2588 (patch) | |
tree | 783ddf27a08d3280fb9fc3e56661817d354351b7 /composer/pattern.c | |
parent | 9a6ab3b333e64c24ee86d929d9387ef367c76ce0 (diff) |
small fixes:
- Switch to sendGui proc to support also desiredata and pd-devel
- Handle null values correctly
svn path=/trunk/externals/ffext/; revision=11950
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); } |