From fce7770da0fe36b898328662f7d3c8a5a0df2a08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Wed, 29 Nov 2006 18:38:58 +0000 Subject: use A_SYMBOL instead of A_DEFSYMBOL to prevent crashes when creating [vcf_filter] without arguments (instead it now refuses to create) svn path=/trunk/externals/iemlib/; revision=6513 --- src/iemlib1/vcf_filter~.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/iemlib1/vcf_filter~.c b/src/iemlib1/vcf_filter~.c index a39d6b6..e961378 100644 --- a/src/iemlib1/vcf_filter~.c +++ b/src/iemlib1/vcf_filter~.c @@ -320,7 +320,7 @@ static void *vcf_filter_tilde_new(t_symbol *filt_typ) void vcf_filter_tilde_setup(void) { vcf_filter_tilde_class = class_new(gensym("vcf_filter~"), (t_newmethod)vcf_filter_tilde_new, - 0, sizeof(t_vcf_filter_tilde), 0, A_DEFSYM, 0); + 0, sizeof(t_vcf_filter_tilde), 0, A_SYMBOL, 0); CLASS_MAINSIGNALIN(vcf_filter_tilde_class, t_vcf_filter_tilde, x_msi); class_addmethod(vcf_filter_tilde_class, (t_method)vcf_filter_tilde_dsp, gensym("dsp"), 0); class_sethelpsymbol(vcf_filter_tilde_class, gensym("iemhelp/help-vcf_filter~")); -- cgit v1.2.1