aboutsummaryrefslogtreecommitdiff
path: root/cyclone/sickle/Scope.c
diff options
context:
space:
mode:
Diffstat (limited to 'cyclone/sickle/Scope.c')
-rw-r--r--cyclone/sickle/Scope.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/cyclone/sickle/Scope.c b/cyclone/sickle/Scope.c
index 75e825d..8a09d78 100644
--- a/cyclone/sickle/Scope.c
+++ b/cyclone/sickle/Scope.c
@@ -848,8 +848,14 @@ static t_widgetbehavior scope_widgetbehavior =
scope_delete,
scope_vis,
scope_click,
+ /* As of 0.37, pd does not have these last two elements in */
+ /* a t_widgetbehavoir anymore. <hans@eds.org> */
+#if PD_MAJOR_VERSION == 0
+#if PD_MINOR_VERSION < 37 || !defined(PD_MINOR_VERSION)
scope_save,
0
+#endif
+#endif
};
static void scope_setxymode(t_scope *x, int xymode)