Update of /cvsroot/pure-data/externals/zexy/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7523
Modified Files: index.c Log Message: default to 128 maxentries if 0 or a negative number is given
Index: index.c =================================================================== RCS file: /cvsroot/pure-data/externals/zexy/src/index.c,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** index.c 15 Jun 2005 15:52:07 -0000 1.6 --- index.c 21 Jun 2005 13:23:11 -0000 1.7 *************** *** 302,306 **** }
! if (!maxentries) maxentries=128;
buf = (t_symbol **)getbytes(sizeof(t_symbol *) * maxentries); --- 302,306 ---- }
! if (maxentries<1) maxentries=128;
buf = (t_symbol **)getbytes(sizeof(t_symbol *) * maxentries);