Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13444/src
Modified Files: Tag: devel_0_39 desire.c Log Message: finally fixing usage of index function (nonexisting on Windows)
Index: desire.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/Attic/desire.c,v retrieving revision 1.1.2.91 retrieving revision 1.1.2.92 diff -C2 -d -r1.1.2.91 -r1.1.2.92 *** desire.c 4 Jul 2006 20:56:35 -0000 1.1.2.91 --- desire.c 19 Jul 2006 10:03:08 -0000 1.1.2.92 *************** *** 12842,12846 **** int i,j=0; for(i=0; s[i] && j<MAXPDSTRING-16; i++) { ! if (index("\"[]$\n",s[i])) t[j++]='\'; t[j++] = s[i]=='\n' ? 'n' : s[i]; } --- 12842,12846 ---- int i,j=0; for(i=0; s[i] && j<MAXPDSTRING-16; i++) { ! if (strchr("\"[]$\n",s[i])) t[j++]='\'; t[j++] = s[i]=='\n' ? 'n' : s[i]; }