[PD-cvs] externals/zexy/src index.c,1.6,1.7

IOhannes m zmölnig zmoelnig at users.sourceforge.net
Tue Jun 21 15:23:13 CEST 2005


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);





More information about the Pd-cvs mailing list