diff options
author | dgp <dgp@users.sourceforge.net> | 2011-05-03 19:44:49 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2011-05-03 19:44:49 (GMT) |
commit | 19116759e64449669cf7b7e9e6fdebdae5f0071f (patch) | |
tree | c8649bb795101ff5e75096911bc52b26fda97fc5 /generic/tclUtil.c | |
parent | 3c27ceb6976c6e0b3aecf4280b26e980813baca4 (diff) | |
parent | aed8684173b0fe3f9627c9ff7343d176dfd1afa7 (diff) | |
download | tcl-19116759e64449669cf7b7e9e6fdebdae5f0071f.zip tcl-19116759e64449669cf7b7e9e6fdebdae5f0071f.tar.gz tcl-19116759e64449669cf7b7e9e6fdebdae5f0071f.tar.bz2 |
merge 8.5
Diffstat (limited to 'generic/tclUtil.c')
-rw-r--r-- | generic/tclUtil.c | 5 |
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); } } |