summaryrefslogtreecommitdiffstats
path: root/generic/tclUtil.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2011-05-03 19:44:49 (GMT)
committerdgp <dgp@users.sourceforge.net>2011-05-03 19:44:49 (GMT)
commita45cb5e6ca825dc4927c3e2ee77413f6d18faa1d (patch)
treec8649bb795101ff5e75096911bc52b26fda97fc5 /generic/tclUtil.c
parent90776b3353758616e05d33be073a10d54ac7dde0 (diff)
parent7e14c9657710e00a674b9e8c676f8e15680083d8 (diff)
downloadtcl-a45cb5e6ca825dc4927c3e2ee77413f6d18faa1d.zip
tcl-a45cb5e6ca825dc4927c3e2ee77413f6d18faa1d.tar.gz
tcl-a45cb5e6ca825dc4927c3e2ee77413f6d18faa1d.tar.bz2
merge 8.5
Diffstat (limited to 'generic/tclUtil.c')
-rw-r--r--generic/tclUtil.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/generic/tclUtil.c b/generic/tclUtil.c
index 7baadff..6189d19 100644
--- a/generic/tclUtil.c
+++ b/generic/tclUtil.c
@@ -179,7 +179,7 @@ TclMaxListLength(
* the element is in braces, then *elementPtr will point to the character
* after the opening brace and *sizePtr will not include either of the
* braces. If there isn't an element in the list, *sizePtr will be zero,
- * and both *elementPtr and *termPtr will point just after the last
+ * and both *elementPtr and *nextPtr will point just after the last
* character in the list. If literalPtr is non-NULL, *literalPtr is set
* to a boolean value indicating whether the substring returned as
* the values of **elementPtr and *sizePtr is the literal value of
@@ -550,8 +550,7 @@ Tcl_SplitList(
*p = 0;
p++;
} else {
- TclCopyAndCollapse(elSize, element, p);
- p += elSize+1;
+ p += 1 + TclCopyAndCollapse(elSize, element, p);
}
}