diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-12-15 16:58:08 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-12-15 16:58:08 (GMT) |
commit | cacd6930cf7caa54e575401e527dae2156bc8424 (patch) | |
tree | d25f14c15a844639f081a49a0897841989103aae /generic/tclStringObj.c | |
parent | f17186825609c292c275e963cefff8e953504e63 (diff) | |
download | tcl-cacd6930cf7caa54e575401e527dae2156bc8424.zip tcl-cacd6930cf7caa54e575401e527dae2156bc8424.tar.gz tcl-cacd6930cf7caa54e575401e527dae2156bc8424.tar.bz2 |
Addendum to [41b1406f51]: change '<=' in range-check to '<'
Diffstat (limited to 'generic/tclStringObj.c')
-rw-r--r-- | generic/tclStringObj.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclStringObj.c b/generic/tclStringObj.c index e30b9af..234ad0f 100644 --- a/generic/tclStringObj.c +++ b/generic/tclStringObj.c @@ -1738,7 +1738,7 @@ AppendUtfToUtfRep( */ if (bytes && objPtr->bytes && (bytes >= objPtr->bytes) - && (bytes <= objPtr->bytes + objPtr->length)) { + && (bytes < objPtr->bytes + objPtr->length)) { offset = bytes - objPtr->bytes; } |