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 /grid | |
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 'grid')
-rw-r--r-- | grid/grid-help.pd (renamed from grid/help-grid.pd) | 0 | ||||
-rw-r--r-- | grid/grid.c | 1 | ||||
-rw-r--r-- | grid/grid2.c | 3 |
3 files changed, 2 insertions, 2 deletions
diff --git a/grid/help-grid.pd b/grid/grid-help.pd index b31c29e..b31c29e 100644 --- a/grid/help-grid.pd +++ b/grid/grid-help.pd diff --git a/grid/grid.c b/grid/grid.c index 2f61374..2b3149b 100644 --- a/grid/grid.c +++ b/grid/grid.c @@ -683,5 +683,4 @@ void grid_setup(void) class_setpropertiesfn(grid_class, &grid_properties); #endif class_setwidget(grid_class, &grid_widgetbehavior); - class_sethelpsymbol(grid_class, gensym("help-grid.pd")); } diff --git a/grid/grid2.c b/grid/grid2.c index 070aa04..06d5b5e 100644 --- a/grid/grid2.c +++ b/grid/grid2.c @@ -544,10 +544,11 @@ void grid_setup(void) #if PD_MINOR_VERSION < 37 || !defined(PD_MINOR_VERSION) grid_widgetbehavior.w_propertiesfn = grid_properties; grid_widgetbehavior.w_savefn = grid_save; +/* this is needed to make the help patch work on < 0.37 */ + class_sethelpsymbol(grid_class, gensym("grid-help.pd")); #else class_setsavefn(grid_class, &grid_save); class_setpropertiesfn(grid_class, &grid_properties); #endif class_setwidget(grid_class, &grid_widgetbehavior); - class_sethelpsymbol(grid_class, gensym("help-grid.pd")); } |