summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
diff options
context:
space:
mode:
authorhobbs <hobbs>2002-03-01 06:22:48 (GMT)
committerhobbs <hobbs>2002-03-01 06:22:48 (GMT)
commita22cac1b8a5522f0140abb4110517f47c168d274 (patch)
treeed814772390e72e8d4fb899773fd6140f36f10e7 /generic/tclBasic.c
parentdd673988506607250ef08ac21fe926bb1a7e2d84 (diff)
downloadtcl-a22cac1b8a5522f0140abb4110517f47c168d274.zip
tcl-a22cac1b8a5522f0140abb4110517f47c168d274.tar.gz
tcl-a22cac1b8a5522f0140abb4110517f47c168d274.tar.bz2
* generic/tclBasic.c (Tcl_CreateObjTrace): set tracePtr->flags correctly.
Diffstat (limited to 'generic/tclBasic.c')
-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;