summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-11-16 23:11:26 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-11-16 23:11:26 +0000
commit952c73820927744653d671e1da27e4d6880a7ed0 (patch)
tree9ae452f8a4ad137181638db022f47114b4837a65 /tests
parent2906763daab189a922bc7247cc95b5f73ae4826b (diff)
downloadATCD-952c73820927744653d671e1da27e4d6880a7ed0.tar.gz
ChangeLogTag:Thu Nov 16 15:09:25 2000 Carlos O'Ryan <coryan@uci.edu>
Diffstat (limited to 'tests')
-rw-r--r--tests/TkReactor_Test.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/TkReactor_Test.cpp b/tests/TkReactor_Test.cpp
index 45f37469a2c..f02171d7608 100644
--- a/tests/TkReactor_Test.cpp
+++ b/tests/TkReactor_Test.cpp
@@ -288,12 +288,14 @@ main (int argc, char *argv[])
exit (1);
}
// set up callback
- Tcl_CreateCommand (tcl_interp, "pressme", inc_count, "label_var", 0);
+ char label_var_name[] = "label_var";
+ Tcl_CreateCommand (tcl_interp, "pressme", inc_count,
+ label_var_name, 0);
// Register callback for X Timer
(void) Tk_CreateTimerHandler (1000,
inc_tmo,
- "label_var");
+ label_var_name);
// It will perform Tk Main Loop
ACE_TkReactor reactor;