diff options
author | Cyrille Henry <nusmuk@users.sourceforge.net> | 2014-12-01 16:26:37 +0000 |
---|---|---|
committer | Cyrille Henry <nusmuk@users.sourceforge.net> | 2014-12-01 16:26:37 +0000 |
commit | 6a48ba355a8d117cbc2da55557bf3407d274d8ee (patch) | |
tree | b5d390668ab3d31042ebacf1c9bc9d1ec2163ca0 | |
parent | 46258fc1bfc932ddd6fd4513f1c5cfdf6c7a1c6b (diff) |
revers test order for deletion simplification
svn path=/trunk/externals/pmpd/; revision=17385
-rw-r--r-- | pmpd2d_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pmpd2d_test.c b/pmpd2d_test.c index c2a705e..97d7a59 100644 --- a/pmpd2d_test.c +++ b/pmpd2d_test.c @@ -347,7 +347,7 @@ void pmpd2d_testLink(t_pmpd2d *x, t_symbol *s, int argc, t_atom *argv) SETSYMBOL(&(std_out[0]),atom_getsymbolarg(0,argc,argv)); - for (i=0; i < x->nb_link; i++) + for (i=x->nb_link-1; i >= 0; i--) { tmp=test_2d_link(i,x,argc,argv); if (tmp == -1) @@ -369,7 +369,7 @@ void pmpd2d_testMass(t_pmpd2d *x, t_symbol *s, int argc, t_atom *argv) SETSYMBOL(&(std_out[0]),atom_getsymbolarg(0,argc,argv)); - for (i=0; i < x->nb_mass; i++) + for (i=x->nb_mass-1; i >= 0; i--) { tmp=test_2d_mass(i,x,argc,argv); if (tmp == -1) |