diff options
| author | dgp@users.sourceforge.net <dgp> | 2011-05-03 19:44:49 (GMT) |
|---|---|---|
| committer | dgp@users.sourceforge.net <dgp> | 2011-05-03 19:44:49 (GMT) |
| commit | 2554551cb52703a150daa1dfcc3b75423d980299 (patch) | |
| tree | c8649bb795101ff5e75096911bc52b26fda97fc5 /generic/tclUtil.c | |
| parent | ee5c969bbea95f97401c0be0bbac1fc34f549f1f (diff) | |
| parent | a0dba2d15870a12b6e47652a64930fa4b23c111d (diff) | |
| download | tcl-2554551cb52703a150daa1dfcc3b75423d980299.zip tcl-2554551cb52703a150daa1dfcc3b75423d980299.tar.gz tcl-2554551cb52703a150daa1dfcc3b75423d980299.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); } } |
