diff options
Diffstat (limited to 'pmpd_stat.c')
-rw-r--r-- | pmpd_stat.c | 4 |
1 files changed, 2 insertions, 2 deletions
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++; } |