Update of /cvsroot/pure-data/externals/miXed/cyclone/hammer In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15591/cyclone/hammer
Modified Files: zl.c Log Message: parsing old format max files
Index: zl.c =================================================================== RCS file: /cvsroot/pure-data/externals/miXed/cyclone/hammer/zl.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** zl.c 16 Mar 2004 12:13:53 -0000 1.3 --- zl.c 7 Apr 2004 19:57:02 -0000 1.4 *************** *** 441,445 **** if (buf) { ! int ac2 = x->x_inbuf2.d_natoms, ntail = ac1 - ndx + 1; t_atom *ptr = buf; if (ndx) --- 441,445 ---- if (buf) { ! int ac2 = x->x_inbuf2.d_natoms, ntail = ac1 - ndx - 1; t_atom *ptr = buf; if (ndx) *************** *** 448,452 **** ptr += ndx; } ! if (ac2) { memcpy(ptr, x->x_inbuf2.d_buf, ac2 * sizeof(*buf)); --- 448,452 ---- ptr += ndx; } ! if (ac2) /* replacement */ { memcpy(ptr, x->x_inbuf2.d_buf, ac2 * sizeof(*buf));