aboutsummaryrefslogtreecommitdiff
path: root/pmpd2d.c
diff options
context:
space:
mode:
authorCyrille Henry <nusmuk@users.sourceforge.net>2011-08-11 09:13:11 +0000
committerCyrille Henry <nusmuk@users.sourceforge.net>2011-08-11 09:13:11 +0000
commit42ace7dfbc5ed1e9c23ad1c8753192f86f841a70 (patch)
treeeea9104af6a7da5c56e096567b3b2fda8c51863e /pmpd2d.c
parente31b717e83ae64cb40c5b476c4623e7130b62bda (diff)
bugfix tLink
--Cette ligne, et les suivantes ci-dessous, seront ignorées-- M pmpd/pmpd3d-help.pd M pmpd/pmpd2d.c M pmpd/pmpd3d.c svn path=/trunk/externals/pmpd/; revision=15207
Diffstat (limited to 'pmpd2d.c')
-rw-r--r--pmpd2d.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pmpd2d.c b/pmpd2d.c
index d3ea690..221d5b2 100644
--- a/pmpd2d.c
+++ b/pmpd2d.c
@@ -368,11 +368,11 @@ void pmpd2d_tLink(t_pmpd2d *x, t_symbol *s, int argc, t_atom *argv)
vecteurX /= vecteur;
vecteurY /= vecteur;
t_float Pow = 1;
- if (argc > 7) Pow = atom_getfloatarg(5, argc, argv);
+ if (argc > 7) Pow = atom_getfloatarg(7, argc, argv);
t_float Lmin = 0;
- if (argc > 8) Lmin = atom_getfloatarg(6, argc, argv);
+ if (argc > 8) Lmin = atom_getfloatarg(8, argc, argv);
t_float Lmax = 1000000;
- if (argc > 9) Lmax = atom_getfloatarg(7, argc, argv);
+ if (argc > 9) Lmax = atom_getfloatarg(9, argc, argv);
if ( ( argv[1].a_type == A_FLOAT ) && ( argv[2].a_type == A_FLOAT ) )
{