From 7f2b0273bb24d46e3b9b15ed06a6a448e7cda041 Mon Sep 17 00:00:00 2001 From: "N.N." Date: Mon, 27 Apr 2009 19:36:40 +0000 Subject: didn't report "no such table" anymore svn path=/trunk/; revision=11173 --- desiredata/src/d_soundfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'desiredata') diff --git a/desiredata/src/d_soundfile.c b/desiredata/src/d_soundfile.c index 2a281869..1b028724 100644 --- a/desiredata/src/d_soundfile.c +++ b/desiredata/src/d_soundfile.c @@ -1198,7 +1198,7 @@ static void soundfiler_read(t_soundfiler *x, t_symbol *s, int argc, t_atom *argv int vecsize; if (argv[i].a_type != A_SYMBOL) goto usage; garrays[i] = (t_garray *)pd_findbyclass(argv[i].a_symbol, garray_class); - if (!garrays) { + if (!garrays[i]) { error("%s: no such table", argv[i].a_symbol->name); goto done; } else if (!garray_getfloatarray(garrays[i], &vecsize, &vecs[i])) -- cgit v1.2.1