diff options
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")); } |