From 21ae6d6baaefe9a1d4e7a9189b6f8d9ef8cc091c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Mon, 24 Oct 2005 17:06:37 +0000 Subject: make errors findable with "last error" svn path=/trunk/externals/iem/iemmatrix/; revision=3764 --- src/mtx_resize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mtx_resize.c') 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++); -- cgit v1.2.1