aboutsummaryrefslogtreecommitdiff
path: root/text.c
diff options
context:
space:
mode:
Diffstat (limited to 'text.c')
-rw-r--r--text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/text.c b/text.c
index aa66ab8..45574d5 100644
--- a/text.c
+++ b/text.c
@@ -161,7 +161,7 @@ static void create_widget(t_textwidget *x)
{
DEBUG(post("create_widget"););
- sys_vgui("namespace eval text%lx {} \n", x);
+ sys_vgui("namespace eval %s {} \n", x->tcl_namespace->s_name);
/* Seems we have to delete the widget in case it already exists (Provided by Guenter)*/
sys_vgui("destroy %s\n", x->frame_id->s_name);