summaryrefslogtreecommitdiffstats
path: root/generic/tclUtf.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-05-11 07:42:32 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-05-11 07:42:32 (GMT)
commit5320364a0d7af8131d7c42717443b0c0fce736ae (patch)
tree2a37704675bccd33ec12dfa6579b18b83f1a0b78 /generic/tclUtf.c
parent27b62f923f30ceb131115f13a84d1d1ef24c6d7c (diff)
parent97517231762b52b45e2b65d03dc8a5cdf2ed6fa3 (diff)
downloadtcl-5320364a0d7af8131d7c42717443b0c0fce736ae.zip
tcl-5320364a0d7af8131d7c42717443b0c0fce736ae.tar.gz
tcl-5320364a0d7af8131d7c42717443b0c0fce736ae.tar.bz2
Merge 8.7
Diffstat (limited to 'generic/tclUtf.c')
-rw-r--r--generic/tclUtf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclUtf.c b/generic/tclUtf.c
index eb97241..694a9a8 100644
--- a/generic/tclUtf.c
+++ b/generic/tclUtf.c
@@ -848,7 +848,7 @@ Tcl_NumUtfChars(
src += TclUtfToUniChar(src, &ch);
} else {
/*
- * src points to incomplete UTF-8 sequence
+ * src points to incomplete UTF-8 sequence
* Treat first byte as character and count it
*/
src++;
@@ -864,7 +864,7 @@ Tcl_NumUtfChars(
*
* Tcl_UtfFindFirst --
*
- * Returns a pointer to the first occurance of the given Unicode character
+ * Returns a pointer to the first occurrence of the given Unicode character
* in the NULL-terminated UTF-8 string. The NULL terminator is considered
* part of the UTF-8 string. Equivalent to Plan 9 utfrune().
*
@@ -901,7 +901,7 @@ Tcl_UtfFindFirst(
*
* Tcl_UtfFindLast --
*
- * Returns a pointer to the last occurance of the given Unicode character
+ * Returns a pointer to the last occurrence of the given Unicode character
* in the NULL-terminated UTF-8 string. The NULL terminator is considered
* part of the UTF-8 string. Equivalent to Plan 9 utfrrune().
*