aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2006-11-29 18:38:58 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2006-11-29 18:38:58 +0000
commitfce7770da0fe36b898328662f7d3c8a5a0df2a08 (patch)
treef196f66bbbcff83c4987d4dce6a2e46af772d5d0
parent0d7548735f6ffaa9f6470776cd4ec9cdcddfcbdf (diff)
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
-rw-r--r--src/iemlib1/vcf_filter~.c2
1 files changed, 1 insertions, 1 deletions
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~"));