aboutsummaryrefslogtreecommitdiff
path: root/shared/unstable/forky.c
diff options
context:
space:
mode:
authorN.N. <krzyszcz@users.sourceforge.net>2003-09-16 11:02:21 +0000
committerN.N. <krzyszcz@users.sourceforge.net>2003-09-16 11:02:21 +0000
commitd9cbafdcc2cc8753036a5674570dd6b0b55bf62a (patch)
treeeb2c58be051e55959a1ec0fda6e6780293107155 /shared/unstable/forky.c
parent35bd7fea4a08beb15820a07361c089dde0bc8a68 (diff)
*** empty log message ***
svn path=/trunk/externals/miXed/; revision=977
Diffstat (limited to 'shared/unstable/forky.c')
-rw-r--r--shared/unstable/forky.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/shared/unstable/forky.c b/shared/unstable/forky.c
index be4dced..100f0af 100644
--- a/shared/unstable/forky.c
+++ b/shared/unstable/forky.c
@@ -10,6 +10,11 @@
#if FORKY_VERSION < 37
/* need this for t_class::c_wb field access */
#include "unstable/pd_imp.h"
+
+t_pd *pd_newest(void)
+{
+ return (0);
+}
#endif
#define FORKY_DEBUG
@@ -27,10 +32,10 @@ void forky_setsavefn(t_class *c, t_forkysavefn fn)
post("cloning widgetbehavior...");
#endif
*wb = *c->c_wb;
- wb->w_savefn = sf;
+ wb->w_savefn = fn;
class_setwidget(c, wb);
}
- else c->c_wb->w_savefn = sf;
+ else c->c_wb->w_savefn = fn;
#endif
}
@@ -42,7 +47,7 @@ void forky_setpropertiesfn(t_class *c, t_forkypropertiesfn fn)
/* assuming wb has already been either cloned (in forky_setsavefn),
or defined from scratch -- it is unlikely to ever need props without
a specialized save (always be sure to set props after save, though). */
- c->c_wb->w_propertiesfn = pf;
+ c->c_wb->w_propertiesfn = fn;
#endif
}