aboutsummaryrefslogtreecommitdiff
path: root/pmpd3d_set.c
diff options
context:
space:
mode:
authorCyrille Henry <nusmuk@users.sourceforge.net>2013-05-01 17:07:19 +0000
committerCyrille Henry <nusmuk@users.sourceforge.net>2013-05-01 17:07:19 +0000
commit65335e58a582621bcf007b610eac640d049b93f5 (patch)
treef2da264b08db43d2132a6e5a822a2244f6b14cc0 /pmpd3d_set.c
parent6232f4f5cb2302ee569f73ebe7528a51ac4277c1 (diff)
debug typo so that everything compile
svn path=/trunk/externals/pmpd/; revision=17111
Diffstat (limited to 'pmpd3d_set.c')
-rw-r--r--pmpd3d_set.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pmpd3d_set.c b/pmpd3d_set.c
index 7592e45..337c8b1 100644
--- a/pmpd3d_set.c
+++ b/pmpd3d_set.c
@@ -146,7 +146,7 @@ void pmpd3d_setLCurrent(t_pmpd3d *x, t_symbol *s, int argc, t_atom *argv)
{ // set a link to it's current length
tmp = atom_getfloatarg(0, argc, argv);
tmp = max(0, min( x->nb_link-1, tmp));
- x->link[tmp].L = x->link[i].distance;
+ x->link[tmp].L = x->link[tmp].distance;
}
else if ( ( argc == 1 ) && ( argv[0].a_type == A_SYMBOL ) )
{ // set a class of link to there current length