summaryrefslogtreecommitdiffstats
path: root/generic/tclUtf.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-05-11 07:39:02 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-05-11 07:39:02 (GMT)
commit429a4171cb6436a84c7923dcac6ef6fe3460ce20 (patch)
tree022cb40236b73c52c77cb797eb57db6e550d52a6 /generic/tclUtf.c
parent0733f232745ac3cc9a3bd4913bd5ffb8b58378a5 (diff)
downloadtcl-429a4171cb6436a84c7923dcac6ef6fe3460ce20.zip
tcl-429a4171cb6436a84c7923dcac6ef6fe3460ce20.tar.gz
tcl-429a4171cb6436a84c7923dcac6ef6fe3460ce20.tar.bz2
occurance -> occurrence.
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 5e0b2e0..a6dfb8a 100644
--- a/generic/tclUtf.c
+++ b/generic/tclUtf.c
@@ -653,7 +653,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++;
@@ -669,7 +669,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().
*
@@ -706,7 +706,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().
*