diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2005-10-24 17:06:37 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2005-10-24 17:06:37 +0000 |
commit | 21ae6d6baaefe9a1d4e7a9189b6f8d9ef8cc091c (patch) | |
tree | 7410bd5530f8386ed5e9935c83be3542a1164ed6 /src/mtx_resize.c | |
parent | 3841ef753439cdf3bfcb37e54d39174cb0426f69 (diff) |
make errors findable with "last error"
svn path=/trunk/externals/iem/iemmatrix/; revision=3764
Diffstat (limited to 'src/mtx_resize.c')
-rw-r--r-- | src/mtx_resize.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mtx_resize.c b/src/mtx_resize.c index 65c76fe..3678b96 100644 --- a/src/mtx_resize.c +++ b/src/mtx_resize.c @@ -20,7 +20,7 @@ static void mtx_resize_list2(t_matrix *x, t_symbol *s, int argc, t_atom *argv) { int r, c; if (argc<1)return; - if (argc>2)error("mtx_resize : only rows & cols are needed, skipping the rest"); + if (argc>2)pd_error(x, "mtx_resize : only rows & cols are needed, skipping the rest"); if (argc==1)r=c=atom_getfloat(argv++); else{ r=atom_getfloat(argv++); |