From b84ccf92049f602e6a18e4d4677454bdc9752f2f Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 14 Sep 2010 04:38:22 +0000 Subject: ported to slightly modified template Makefile svn path=/trunk/externals/tkwidgets/; revision=14135 --- text.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'text.c') diff --git a/text.c b/text.c index 92a0ef4..96ca9bb 100644 --- a/text.c +++ b/text.c @@ -21,7 +21,7 @@ #include #include -#include "shared/tkwidgets.h" +#include "tkwidgets.h" /* TODO: append options messages to options_binbuf if not visible */ /* TODO: window name "handle1376fc00" already exists in parent */ @@ -189,7 +189,7 @@ static void create_widget(t_textwidget *x) tkwidgets_bind_key_events(x->canvas_id, x->widget_id); tkwidgets_bind_mouse_events(x->canvas_id, x->widget_id); /* bind to KeyRelease events to send out right outlet one key at a time */ - sys_vgui("bind %s {+pdsend %s keyup %%N \\;} \n", + sys_vgui("bind %s {+pdsend \"%s keyup %%N \"} \n", x->widget_id->s_name, x->receive_name->s_name); /* override the standard Pd bindings for these since they cause trouble */ #ifdef __APPLE__ @@ -316,11 +316,11 @@ static void textwidget_activate(t_gobj *z, t_glist *glist, int state) TKW_HANDLE_WIDTH, TKW_HANDLE_HEIGHT, x->handle_id->s_name, x->all_tag->s_name); sys_vgui("raise %s\n", x->handle_id->s_name); - sys_vgui("bind %s