aboutsummaryrefslogtreecommitdiff
path: root/shared/toxy
diff options
context:
space:
mode:
authorN.N. <krzyszcz@users.sourceforge.net>2004-03-31 10:24:20 +0000
committerN.N. <krzyszcz@users.sourceforge.net>2004-03-31 10:24:20 +0000
commitdbd3ec671dec8ea39032d3b0b56387df40c66c28 (patch)
tree6ad4c4d87e05b8babf1d78a1303de508ce5d1cdf /shared/toxy
parent14b05069b61d8d86d52415acb1adea7a61547ac6 (diff)
toxy alpha11
svn path=/trunk/externals/miXed/; revision=1526
Diffstat (limited to 'shared/toxy')
-rw-r--r--shared/toxy/scriptlet.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/shared/toxy/scriptlet.c b/shared/toxy/scriptlet.c
index a2f5ee0..192eaa6 100644
--- a/shared/toxy/scriptlet.c
+++ b/shared/toxy/scriptlet.c
@@ -471,8 +471,12 @@ void scriptlet_qpush(t_scriptlet *sp)
sys_gui(sp->s_buffer);
*tail = 0;
sprintf(buf, "\
- trace add variable ::toxy::reply write \"::toxy::doreply %s\"\n\
- ::toxy::query}\n", sp->s_rptarget->s_name);
+ if {[info tclversion] < 8.4} {\n\
+ trace variable ::toxy::reply w \"::toxy::doreply %s\"\n\
+ } else {\n\
+ trace add variable ::toxy::reply write \"::toxy::doreply %s\"\n\
+ }\n\
+ ::toxy::query}\n", sp->s_rptarget->s_name, sp->s_rptarget->s_name);
sys_gui(buf);
}
}