From b95cae5898b3abfb286c5bd99cb00bdd14049eb7 Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Thu, 16 Dec 2021 08:03:39 +0000 Subject: Undo prevous commit. See [41b1406f51] for the reason --- generic/tclStringObj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generic/tclStringObj.c b/generic/tclStringObj.c index 234ad0f..e30b9af 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; } -- cgit v0.12