Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30925
Modified Files: Tag: desiredata kernel.c Log Message: fix [inlet~], [outlet~]
Index: kernel.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/Attic/kernel.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 *** kernel.c 20 Aug 2007 08:34:01 -0000 1.1.2.91 --- kernel.c 9 Sep 2007 21:34:56 -0000 1.1.2.92 *************** *** 836,843 **** /* and those two are only used in desire.c... */ int inlet_getsignalindex(t_inlet *x) { ! int n=0; for ( t_inlet *i = x->owner-> inlet; i; i = i->next) if (i->symfrom == &s_signal) n++; else if (i==x) return n; return -1;} int outlet_getsignalindex(t_outlet *x) { ! int n=0; for (t_outlet *o = x->owner->outlet; o; o = o->next) if (o->sym == &s_signal) n++; else if (o==x) return n; return -1;}
--- 836,843 ---- /* and those two are only used in desire.c... */ int inlet_getsignalindex(t_inlet *x) { ! int n=0; for ( t_inlet *i = x->owner-> inlet; i; i = i->next) if (i==x) return n; else if (i->symfrom == &s_signal) n++; return -1;} int outlet_getsignalindex(t_outlet *x) { ! int n=0; for (t_outlet *o = x->owner->outlet; o; o = o->next) if (o==x) return n; else if (o->sym == &s_signal) n++; return -1;}