summaryrefslogtreecommitdiffstats
path: root/generic/tclUtil.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-08-02 23:08:00 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-08-02 23:08:00 (GMT)
commit1bc2496e012681e5f83cbe757b04d58c57083b07 (patch)
tree233f9fd3e29f2b9fb6280ac50e8f2e251e08c7bf /generic/tclUtil.c
parent6042bb0be18a7102155afc95163120cb6b2a35ea (diff)
parent40947c7d3eeb124dfd51a08dbdfc556a7a402bd6 (diff)
downloadtcl-1bc2496e012681e5f83cbe757b04d58c57083b07.zip
tcl-1bc2496e012681e5f83cbe757b04d58c57083b07.tar.gz
tcl-1bc2496e012681e5f83cbe757b04d58c57083b07.tar.bz2
Merge 8.7
Diffstat (limited to 'generic/tclUtil.c')
-rw-r--r--generic/tclUtil.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/generic/tclUtil.c b/generic/tclUtil.c
index 9b0a8b1..395d1bf 100644
--- a/generic/tclUtil.c
+++ b/generic/tclUtil.c
@@ -113,7 +113,7 @@ static int FindElement(Tcl_Interp *interp, const char *string,
/*
* The following is the Tcl object type definition for an object that
* represents a list index in the form, "end-offset". It is used as a
- * performance optimization in TclGetIntForIndex. The internal rep is
+ * performance optimization in TclGetIntForIndex. The internal rep is
* stored directly in the wideValue, so no memory management is required
* for it. This is a caching intrep, keeping the result of a parse
* around. This type is only created from a pre-existing string, so an
@@ -1630,7 +1630,7 @@ UtfWellFormedEnd(
if (Tcl_UtfCharComplete(p, l - p)) {
return bytes;
}
- /*
+ /*
* Malformed utf-8 end, be sure we've NTS to safe compare of end-character,
* avoid segfault by access violation out of range.
*/
@@ -3542,7 +3542,7 @@ GetEndOffsetFromObj(
return TCL_OK;
}
-
+
/*
*----------------------------------------------------------------------
*
@@ -3725,12 +3725,12 @@ TclIndexEncode(
/* usual case, the absolute index value encodes itself */
} else if (TCL_OK == GetEndOffsetFromObj(objPtr, 0, &idx)) {
/*
- * We parsed an end+offset index value.
+ * We parsed an end+offset index value.
* idx holds the offset value in the range INT_MIN...INT_MAX.
*/
if (idx > 0) {
/*
- * All end+postive or end-negative expressions
+ * All end+postive or end-negative expressions
* always indicate "after the end".
*/
idx = after;