diff options
author | Cyrille Henry <nusmuk@users.sourceforge.net> | 2014-01-25 16:37:55 +0000 |
---|---|---|
committer | Cyrille Henry <nusmuk@users.sourceforge.net> | 2014-01-25 16:37:55 +0000 |
commit | 8e2046a5796957c47871f95bc6496b6971043ccf (patch) | |
tree | 8ff62e07c7be0b6f2c9eed85f2526e18570f991c /pmpd2d_interactor.c | |
parent | d061f5a28acc0bdaf0ad91307c19739ccba1a0e1 (diff) |
using pd_error better than post for errors
svn path=/trunk/externals/pmpd/; revision=17255
Diffstat (limited to 'pmpd2d_interactor.c')
-rw-r--r-- | pmpd2d_interactor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pmpd2d_interactor.c b/pmpd2d_interactor.c index 75b263e..b1e4639 100644 --- a/pmpd2d_interactor.c +++ b/pmpd2d_interactor.c @@ -55,7 +55,7 @@ void pmpd2d_iCircle(t_pmpd2d *x, t_symbol *s, int argc, t_atom *argv) if (!((argc>=5) && (argv[1].a_type == A_FLOAT)&& (argv[2].a_type == A_FLOAT)&& (argv[3].a_type == A_FLOAT) )) { - post("bad argument for iCircle"); + pd_error(x,"bad argument for iCircle"); return; } @@ -133,7 +133,7 @@ void pmpd2d_iLine(t_pmpd2d *x, t_symbol *s, int argc, t_atom *argv) if (!((argc>=6) && (argv[1].a_type == A_FLOAT) && (argv[2].a_type == A_FLOAT) && (argv[3].a_type == A_FLOAT) && (argv[4].a_type == A_FLOAT) && (argv[5].a_type == A_FLOAT) )) { - post("bad argument for iLine"); + pd_error(x,"bad argument for iLine"); return; } |