aboutsummaryrefslogtreecommitdiff
path: root/pmpd3d_get.c
diff options
context:
space:
mode:
authorCyrille Henry <nusmuk@users.sourceforge.net>2013-02-16 14:10:59 +0000
committerCyrille Henry <nusmuk@users.sourceforge.net>2013-02-16 14:10:59 +0000
commitd6aeb7ce5870ac9a95e20a39660664a3f4e9d4be (patch)
tree22770c04d350b623c2ea56b9d9b0ce639294c5cd /pmpd3d_get.c
parentedf303ef16f2a2b5de904821794d866465057e26 (diff)
bugfix
svn path=/trunk/externals/pmpd/; revision=17036
Diffstat (limited to 'pmpd3d_get.c')
-rw-r--r--pmpd3d_get.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pmpd3d_get.c b/pmpd3d_get.c
index b9ea18f..c23b594 100644
--- a/pmpd3d_get.c
+++ b/pmpd3d_get.c
@@ -501,7 +501,7 @@ void pmpd3d_linkEnd(t_pmpd3d *x, t_symbol *s, int argc, t_atom *argv)
if ((argc>0)&&(argv[0].a_type == A_FLOAT))
{
i = atom_getfloatarg(0, argc, argv);
- if ( (i>=0) && (i<x->nb_mass) )
+ if ( (i>=0) && (i<x->nb_link) )
{
SETSYMBOL(&(toout[0]), x->link[i].Id);
SETFLOAT(&(toout[1]), i);