diff options
Diffstat (limited to 'generic/tclTestProcBodyObj.c')
-rw-r--r-- | generic/tclTestProcBodyObj.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclTestProcBodyObj.c b/generic/tclTestProcBodyObj.c index 0fc3bb2..61ae3ba 100644 --- a/generic/tclTestProcBodyObj.c +++ b/generic/tclTestProcBodyObj.c @@ -141,7 +141,7 @@ static int RegisterCommand(interp, namespace, cmdTablePtr) if (cmdTablePtr->exportIt) { sprintf(buf, "namespace eval %s { namespace export %s }", namespace, cmdTablePtr->cmdName); - if (Tcl_Eval(interp, buf) != TCL_OK) + if (Tcl_EvalEx(interp, buf, -1, 0) != TCL_OK) return TCL_ERROR; } |