Revision: 9983 http://pure-data.svn.sourceforge.net/pure-data/?rev=9983&view=rev Author: zmoelnig Date: 2008-06-12 02:04:56 -0700 (Thu, 12 Jun 2008)
Log Message: ----------- more compatibility with [pack] (that's important on Pd>=0.42)
Modified Paths: -------------- trunk/externals/zexy/src/pack.c
Modified: trunk/externals/zexy/src/pack.c =================================================================== --- trunk/externals/zexy/src/pack.c 2008-06-12 08:17:27 UTC (rev 9982) +++ trunk/externals/zexy/src/pack.c 2008-06-12 09:04:56 UTC (rev 9983) @@ -59,8 +59,9 @@ }
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); }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.