From 9365f75b619c40e1112a29085e1f491dfcbfc873 Mon Sep 17 00:00:00 2001 From: pointsman Date: Fri, 7 Apr 2023 23:14:20 +0000 Subject: Editorial fix in Tcl_Panic() message. --- generic/tclObj.c | 2 +- generic/tclStringObj.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/generic/tclObj.c b/generic/tclObj.c index 9d37fdc..2b21675 100644 --- a/generic/tclObj.c +++ b/generic/tclObj.c @@ -1702,7 +1702,7 @@ TclGetStringFromObj( if (lengthPtr != NULL) { if (objPtr->length > INT_MAX) { Tcl_Panic("Tcl_GetStringFromObj with 'int' lengthPtr" - "cannot handle such long strings. Please use 'size_t'"); + " cannot handle such long strings. Please use 'size_t'"); } *lengthPtr = (int)objPtr->length; } diff --git a/generic/tclStringObj.c b/generic/tclStringObj.c index 959a221..9080d09 100644 --- a/generic/tclStringObj.c +++ b/generic/tclStringObj.c @@ -693,7 +693,7 @@ TclGetUnicodeFromObj( if (lengthPtr != NULL) { if (stringPtr->numChars > INT_MAX) { Tcl_Panic("Tcl_GetUnicodeFromObj with 'int' lengthPtr" - "cannot handle such long strings. Please use 'size_t'"); + " cannot handle such long strings. Please use 'size_t'"); } *lengthPtr = (int)stringPtr->numChars; } -- cgit v0.12