diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2003-09-25 20:58:55 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2003-09-25 20:58:55 +0000 |
commit | d27d9e33f19264c405979b49441f1d63b5b0e0ad (patch) | |
tree | 0c59da1bd898a38245d2df9a1ff8e1001a7cd224 /sonogram~/sonogram~-yves.c | |
parent | 6c948ccdc4c48eb7d478509642800a82e11758b7 (diff) |
updated externals so that the help files work in 0.37. Unfortunately this breaks <=0.36 support :(
svn path=/trunk/externals/unauthorized/; revision=1034
Diffstat (limited to 'sonogram~/sonogram~-yves.c')
-rw-r--r-- | sonogram~/sonogram~-yves.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sonogram~/sonogram~-yves.c b/sonogram~/sonogram~-yves.c index 4886284..02e5f47 100644 --- a/sonogram~/sonogram~-yves.c +++ b/sonogram~/sonogram~-yves.c @@ -1953,7 +1953,6 @@ void sonogram_tilde_setup(void) post(sonogram_version); sonogram_class = class_new(gensym("sonogram~"), (t_newmethod)sonogram_new, (t_method)sonogram_free, sizeof(t_sonogram), 0, A_DEFFLOAT, A_DEFFLOAT, A_DEFFLOAT, 0); - class_sethelpsymbol( sonogram_class, gensym("help-sonogram~.pd") ); // set callbacks sonogram_widgetbehavior.w_getrectfn = sonogram_getrect; @@ -1972,6 +1971,8 @@ void sonogram_tilde_setup(void) #if PD_MINOR_VERSION < 37 || !defined(PD_MINOR_VERSION) sonogram_widgetbehavior.w_propertiesfn = NULL; sonogram_widgetbehavior.w_savefn = sonogram_save; +/* this is needed to make the help patch work on < 0.37 */ + class_sethelpsymbol( sonogram_class, gensym("sonogram~-help.pd") ); #else class_setpropertiesfn(sonogram_class, NULL); class_setsavefn(sonogram_class, &sonogram_save); |