From 0e92c962dabd566146d84295041961856593eb90 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 19 Oct 2011 05:08:12 +0000 Subject: port to 0.43's pdsend proc in pd-gui svn path=/trunk/externals/tof/; revision=15622 --- src/menubutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/menubutton.c') diff --git a/src/menubutton.c b/src/menubutton.c index 05d22dc..ed141fc 100644 --- a/src/menubutton.c +++ b/src/menubutton.c @@ -474,7 +474,7 @@ static void *menubutton_new(t_symbol *s, int argc, t_atom *argv) pd_bind(&x->x_obj.ob_pd, x->x_sym); /* define proc in tcl/tk where "menubutton%p" is the receive, "callback" is the method, and "$index" is an argument. */ - sys_vgui("proc select%x {index} {\n pd [concat menubutton%p callback $index \\;]\n }\n",x,x); + sys_vgui("proc select%x {index} {\n pdsend \"menubutton%p callback $index \"\n }\n",x,x); outlet_new(&x->x_obj, &s_symbol); -- cgit v1.2.1