diff options
author | Cyrille Henry <nusmuk@users.sourceforge.net> | 2014-01-22 20:18:10 +0000 |
---|---|---|
committer | Cyrille Henry <nusmuk@users.sourceforge.net> | 2014-01-22 20:18:10 +0000 |
commit | 06a668e602db70c9e31b08e83f3ffc8a51aa1217 (patch) | |
tree | 8499b8f6c5565ae01cb86302e90256af7d91f60f /pmpd2d_set.c | |
parent | b50621a88288a2024fc107673ad0f594a4ba3790 (diff) |
set mobil argument number corrected
svn path=/trunk/externals/pmpd/; revision=17242
Diffstat (limited to 'pmpd2d_set.c')
-rw-r--r-- | pmpd2d_set.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pmpd2d_set.c b/pmpd2d_set.c index 2c448c1..1e1c9fc 100644 --- a/pmpd2d_set.c +++ b/pmpd2d_set.c @@ -298,7 +298,7 @@ void pmpd2d_setMobile(t_pmpd2d *x, t_symbol *s, int argc, t_atom *argv) tmp = max(0, min( x->nb_mass-1, tmp)); x->mass[tmp].mobile = 1; } - else if ( (argc == 2) && (argv[0].a_type == A_SYMBOL ) ) + else if ( (argc == 1) && (argv[0].a_type == A_SYMBOL ) ) { for (i=0; i< x->nb_mass; i++) { |