diff options
author | Cyrille Henry <nusmuk@users.sourceforge.net> | 2014-10-27 19:26:28 +0000 |
---|---|---|
committer | Cyrille Henry <nusmuk@users.sourceforge.net> | 2014-10-27 19:26:28 +0000 |
commit | 773495d51f763b42e2a2b1887f7b08b8f1535167 (patch) | |
tree | 6d98a66d1f2e78ac36582662b761cbd71b95dff4 | |
parent | 4a552bceea2c14575a280f596179f521cf6c2916 (diff) |
debug link and massNumber with symbol
svn path=/trunk/externals/pmpd/; revision=17365
-rw-r--r-- | pmpd2d_stat.c | 4 | ||||
-rw-r--r-- | pmpd3d_stat.c | 4 | ||||
-rw-r--r-- | pmpd_stat.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/pmpd2d_stat.c b/pmpd2d_stat.c index 86dfff0..d9c8e34 100644 --- a/pmpd2d_stat.c +++ b/pmpd2d_stat.c @@ -1108,7 +1108,7 @@ void pmpd2d_massNumber(t_pmpd2d *x, t_symbol *s, int argc, t_atom *argv) j=0; for(i=0; i < x->nb_mass; i++) { - if (atom_getsymbolarg(0,argc,argv) == x->mass[j].Id) + if (atom_getsymbolarg(0,argc,argv) == x->mass[i].Id) { j++; } @@ -1133,7 +1133,7 @@ void pmpd2d_linkNumber(t_pmpd2d *x, t_symbol *s, int argc, t_atom *argv) j=0; for(i=0; i < x->nb_link; i++) { - if (atom_getsymbolarg(0,argc,argv) == x->link[j].Id) + if (atom_getsymbolarg(0,argc,argv) == x->link[i].Id) { j++; } diff --git a/pmpd3d_stat.c b/pmpd3d_stat.c index 4316835..14c8403 100644 --- a/pmpd3d_stat.c +++ b/pmpd3d_stat.c @@ -1251,7 +1251,7 @@ void pmpd3d_massNumber(t_pmpd3d *x, t_symbol *s, int argc, t_atom *argv) j=0; for(i=0; i < x->nb_mass; i++) { - if (atom_getsymbolarg(0,argc,argv) == x->mass[j].Id) + if (atom_getsymbolarg(0,argc,argv) == x->mass[i].Id) { j++; } @@ -1276,7 +1276,7 @@ void pmpd3d_linkNumber(t_pmpd3d *x, t_symbol *s, int argc, t_atom *argv) j=0; for(i=0; i < x->nb_link; i++) { - if (atom_getsymbolarg(0,argc,argv) == x->link[j].Id) + if (atom_getsymbolarg(0,argc,argv) == x->link[i].Id) { j++; } diff --git a/pmpd_stat.c b/pmpd_stat.c index 222ccb6..1109006 100644 --- a/pmpd_stat.c +++ b/pmpd_stat.c @@ -858,7 +858,7 @@ void pmpd_massNumber(t_pmpd *x, t_symbol *s, int argc, t_atom *argv) j=0; for(i=0; i < x->nb_mass; i++) { - if (atom_getsymbolarg(0,argc,argv) == x->mass[j].Id) + if (atom_getsymbolarg(0,argc,argv) == x->mass[i].Id) { j++; } @@ -883,7 +883,7 @@ void pmpd_linkNumber(t_pmpd *x, t_symbol *s, int argc, t_atom *argv) j=0; for(i=0; i < x->nb_link; i++) { - if (atom_getsymbolarg(0,argc,argv) == x->link[j].Id) + if (atom_getsymbolarg(0,argc,argv) == x->link[i].Id) { j++; } |