summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2016-05-24 20:23:15 (GMT)
committerdgp <dgp@users.sourceforge.net>2016-05-24 20:23:15 (GMT)
commit0a2318649c91cff9d31bef133fb6a96ad9786bed (patch)
tree5e73eef91371b1ffbbe7aa74299d63eb991b4c41 /generic
parent76b6abb07e94280e27b013d5c2610b67776aa6a1 (diff)
downloadtcl-0a2318649c91cff9d31bef133fb6a96ad9786bed.zip
tcl-0a2318649c91cff9d31bef133fb6a96ad9786bed.tar.gz
tcl-0a2318649c91cff9d31bef133fb6a96ad9786bed.tar.bz2
Now fix the bug.dgp_bug_find
Diffstat (limited to 'generic')
-rw-r--r--generic/tclEnsemble.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclEnsemble.c b/generic/tclEnsemble.c
index c85828b..7ef8042 100644
--- a/generic/tclEnsemble.c
+++ b/generic/tclEnsemble.c
@@ -1891,8 +1891,8 @@ NsEnsembleImplementationCmdNR(
* relative to old one. */
if (ni > 0) {
iPtr->ensembleRewrite.numRemovedObjs += ni;
- iPtr->ensembleRewrite.numInsertedObjs += prefixObjc-1;
-// iPtr->ensembleRewrite.numInsertedObjs = prefixObjc + ensemblePtr->numParameters;
+ iPtr->ensembleRewrite.numInsertedObjs
+ = prefixObjc + ensemblePtr->numParameters;
} else {
iPtr->ensembleRewrite.numInsertedObjs += prefixObjc-2;
}