summaryrefslogtreecommitdiffstats
path: root/generic/tclUtil.c
diff options
context:
space:
mode:
authorpooryorick <com.digitalsmarties@pooryorick.com>2023-04-12 14:25:41 (GMT)
committerpooryorick <com.digitalsmarties@pooryorick.com>2023-04-12 14:25:41 (GMT)
commitb77f43bb1120210cb1cbb467f8a29ab1cb004162 (patch)
tree0854fb4160c59caca2e4ce994f245d75ca52eb7d /generic/tclUtil.c
parent3d91df248993bec5f3545fa327bf6baef9968331 (diff)
parent83677a47e7b79ee7a64d2053ed2871b850898a2e (diff)
downloadtcl-b77f43bb1120210cb1cbb467f8a29ab1cb004162.zip
tcl-b77f43bb1120210cb1cbb467f8a29ab1cb004162.tar.gz
tcl-b77f43bb1120210cb1cbb467f8a29ab1cb004162.tar.bz2
Correct spelling errors in comments and documentation, but also a non-comment corrections in history.tcl and tcltest.test.
Diffstat (limited to 'generic/tclUtil.c')
-rw-r--r--generic/tclUtil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclUtil.c b/generic/tclUtil.c
index 88673ee..a834848 100644
--- a/generic/tclUtil.c
+++ b/generic/tclUtil.c
@@ -1238,7 +1238,7 @@ TclScanElement(
* If we are quoting solely due to ] or internal " characters use
* the CONVERT_MASK mode where we escape all special characters
* except for braces. "extra" counted space needed to escape
- * braces too, so substract "braceCount" to get our actual needs.
+ * braces too, so subtract "braceCount" to get our actual needs.
*/
bytesNeeded += (extra - braceCount);
@@ -2006,7 +2006,7 @@ Tcl_ConcatObj(
* Something cannot be determined to be safe, so build the concatenation
* the slow way, using the string representations.
*
- * First try to pre-allocate the size required.
+ * First try to preallocate the size required.
*/
for (i = 0; i < objc; i++) {