[PD-cvs] externals/OSCx/src OSCroute.c,1.7,1.8
Hans-Christoph Steiner
eighthave at users.sourceforge.net
Thu Jun 14 16:56:57 CEST 2007
Update of /cvsroot/pure-data/externals/OSCx/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15793
Modified Files:
OSCroute.c
Log Message:
checked in patch from tracker 1668080 to fix bang crasher bug
Index: OSCroute.c
===================================================================
RCS file: /cvsroot/pure-data/externals/OSCx/src/OSCroute.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** OSCroute.c 19 Oct 2006 04:13:27 -0000 1.7
--- OSCroute.c 14 Jun 2007 14:56:55 -0000 1.8
***************
*** 281,285 ****
/* Ignore the fact that this is a "list" */
OSCroute_doanything(x, argv[0].a_w.w_symbol, argc-1, argv+1);
! } else {
// post("* OSC-route: invalid list beginning with a number");
// output on unmatched outlet jdl 20020908
--- 281,285 ----
/* Ignore the fact that this is a "list" */
OSCroute_doanything(x, argv[0].a_w.w_symbol, argc-1, argv+1);
! } else if (argc > 0) {
// post("* OSC-route: invalid list beginning with a number");
// output on unmatched outlet jdl 20020908
***************
*** 290,293 ****
--- 290,297 ----
}
}
+ else {
+ // output a bang on the rejected outlet if no arguments
+ outlet_bang(x->x_outlets[x->x_num]);
+ }
// ExitCallback();
}
More information about the Pd-cvs
mailing list