summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorhobbs <hobbs>2002-03-01 06:22:48 (GMT)
committerhobbs <hobbs>2002-03-01 06:22:48 (GMT)
commitf838baaa0a3899303119eec543420e74ef5beac8 (patch)
treeed814772390e72e8d4fb899773fd6140f36f10e7 /generic
parentca95a8f7abfc1d516e3cdec6eaa2138fdc8bcc5d (diff)
downloadtcl-f838baaa0a3899303119eec543420e74ef5beac8.zip
tcl-f838baaa0a3899303119eec543420e74ef5beac8.tar.gz
tcl-f838baaa0a3899303119eec543420e74ef5beac8.tar.bz2
* generic/tclBasic.c (Tcl_CreateObjTrace): set tracePtr->flags correctly.
Diffstat (limited to 'generic')
-rw-r--r--generic/tclBasic.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index c0fd688..003851b 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.c
@@ -13,7 +13,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclBasic.c,v 1.49 2002/02/28 00:38:09 hobbs Exp $
+ * RCS: @(#) $Id: tclBasic.c,v 1.50 2002/03/01 06:22:48 hobbs Exp $
*/
#include "tclInt.h"
@@ -4734,6 +4734,7 @@ Tcl_CreateObjTrace( interp, level, flags, proc, clientData, delProc )
tracePtr->clientData = clientData;
tracePtr->delProc = delProc;
tracePtr->nextPtr = iPtr->tracePtr;
+ tracePtr->flags = flags;
iPtr->tracePtr = tracePtr;
return (Tcl_Trace) tracePtr;