diff options
author | N.N. <matju@users.sourceforge.net> | 2009-04-27 19:36:40 +0000 |
---|---|---|
committer | N.N. <matju@users.sourceforge.net> | 2009-04-27 19:36:40 +0000 |
commit | 7f2b0273bb24d46e3b9b15ed06a6a448e7cda041 (patch) | |
tree | 0cb0e3e46da54bfb6b97f63acbb5e1609aed240a /desiredata | |
parent | a3fc6c3cb37ba315e3cf509295f783bcfdc6a3e5 (diff) |
didn't report "no such table" anymore
svn path=/trunk/; revision=11173
Diffstat (limited to 'desiredata')
-rw-r--r-- | desiredata/src/d_soundfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
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])) |