aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
Diffstat (limited to 'gui')
-rw-r--r--gui/button.c2
-rw-r--r--gui/fatom.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/gui/button.c b/gui/button.c
index 2e051b0..6f11903 100644
--- a/gui/button.c
+++ b/gui/button.c
@@ -317,7 +317,7 @@ static void *button_new(t_symbol* text)
/* pipe startup code to tk */
- sys_vgui("proc button_cb%lx {} {pd [concat %s b \\;]}\n", x, buf);
+ sys_vgui("proc button_cb%lx {} {pdsend {%s b}}\n", x, buf);
outlet_new(&x->x_obj, &s_float);
return (x);
diff --git a/gui/fatom.h b/gui/fatom.h
index c94c89b..e5258f7 100644
--- a/gui/fatom.h
+++ b/gui/fatom.h
@@ -417,7 +417,7 @@ static void *fatom_new(t_fatom* x,t_floatarg max, t_floatarg min, t_floatarg h,t
/* pipe startup code to slitk */
- sys_vgui("proc fatom_cb%x {val} {\n pd [concat fatom%x f $val \\;]\n }\n",x,x);
+ sys_vgui("proc fatom_cb%x {val} {\n pdsend \"fatom%x f $val\"\n }\n",x,x);
outlet_new(&x->x_obj, &s_float);
return (x);