From b02b33bcca8f01852bf16ad214e2d509e5e14903 Mon Sep 17 00:00:00 2001 From: Miller Puckette Date: Mon, 6 Sep 2004 22:37:26 +0000 Subject: Fixed a bug svn path=/trunk/; revision=2014 --- pd/src/g_text.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pd/src/g_text.c') diff --git a/pd/src/g_text.c b/pd/src/g_text.c index 472cb1c6..86bd66a1 100644 --- a/pd/src/g_text.c +++ b/pd/src/g_text.c @@ -1159,7 +1159,7 @@ void text_drawborder(t_text *x, t_glist *glist, height = y2 - y1; if (x->te_type == T_OBJECT) { - char *pattern = ((pd_class(&x->te_pd) == text_class) ? "." : "\"\""); + char *pattern = ((pd_class(&x->te_pd) == text_class) ? "-" : "\"\""); if (firsttime) sys_vgui(".x%lx.c create line\ %d %d %d %d %d %d %d %d %d %d -dash %s -tags %sR\n", @@ -1171,7 +1171,8 @@ void text_drawborder(t_text *x, t_glist *glist, %d %d %d %d %d %d %d %d %d %d\n", glist_getcanvas(glist), tag, x1, y1, x2, y1, x2, y2, x1, y2, x1, y1); - sys_vgui(".x%lx.c itemconfigure -dash %s\n", pattern); + sys_vgui(".x%lx.c itemconfigure -dash %s\n", + glist_getcanvas(glist), pattern); } } else if (x->te_type == T_MESSAGE) -- cgit v1.2.1