diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2008-06-12 09:04:56 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2008-06-12 09:04:56 +0000 |
commit | 5ab2cdf139a1fd8cd4c9700970dc08c1c25820d8 (patch) | |
tree | e5a1c50929ca16d76314b2d65fdc2c43db905201 | |
parent | dbf1d8a0a60da256b323a8dd189c3c6551f82f3f (diff) |
more compatibility with [pack] (that's important on Pd>=0.42)
svn path=/trunk/externals/zexy/; revision=9983
-rw-r--r-- | src/pack.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -59,8 +59,9 @@ static void zpack_bang(t_zpack*x) { } static void zpack_list0(t_zpack*x, t_symbol *s, int argc, t_atom *argv) { - if(argc>0) - setatom(x, argv, 0); + int i=0; + for(i=0; i<argc && i<x->x_argc; i++) + setatom(x, argv+i, i); zpack_bang(x); } |