summaryrefslogtreecommitdiffstats
path: root/generic/tclOOMethod.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2011-09-16 13:13:11 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2011-09-16 13:13:11 (GMT)
commit8dad1b8281811bab0d71588b3c59a7fa1d163642 (patch)
treefa60ba1a0c33fd214cda7a1313d82633c445d112 /generic/tclOOMethod.c
parent616ed3e2c84e9d0ece967a597357eb509fffccbd (diff)
downloadtcl-8dad1b8281811bab0d71588b3c59a7fa1d163642.zip
tcl-8dad1b8281811bab0d71588b3c59a7fa1d163642.tar.gz
tcl-8dad1b8281811bab0d71588b3c59a7fa1d163642.tar.bz2
[Bug 3408830]: Use the _right_ fix for [Bug 3400658]!
Diffstat (limited to 'generic/tclOOMethod.c')
-rw-r--r--generic/tclOOMethod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclOOMethod.c b/generic/tclOOMethod.c
index 708295a..4e7edb8 100644
--- a/generic/tclOOMethod.c
+++ b/generic/tclOOMethod.c
@@ -1595,7 +1595,7 @@ InitEnsembleRewrite(
if (isRootEnsemble) {
iPtr->ensembleRewrite.sourceObjs = objv;
iPtr->ensembleRewrite.numRemovedObjs = toRewrite;
- iPtr->ensembleRewrite.numInsertedObjs = rewriteLength - 1;
+ iPtr->ensembleRewrite.numInsertedObjs = rewriteLength;
} else {
int numIns = iPtr->ensembleRewrite.numInsertedObjs;