commit 6f7d73071afc272dd07b06e72cf2c489402c13e7
parent 5622a0a51be80234b4464ee100bc26272e3d5210
Author: Tim Gates <tim.gates@iress.com>
Date: Fri, 9 Oct 2020 23:30:50 +1100
docs: fix simple typo, encounted -> encountered (#201)
There is a small typo in utf8proc.h.
Should read `encountered` rather than `encounted`.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/utf8proc.h b/utf8proc.h
@@ -502,7 +502,7 @@ UTF8PROC_DLLEXPORT utf8proc_ssize_t utf8proc_decompose_char(
* string and orders the decomposed sequences correctly.
*
* If the @ref UTF8PROC_NULLTERM flag in `options` is set, processing
- * will be stopped, when a NULL byte is encounted, otherwise `strlen`
+ * will be stopped, when a NULL byte is encountered, otherwise `strlen`
* bytes are processed. The result (in the form of 32-bit unicode
* codepoints) is written into the buffer being pointed to by
* `buffer` (which must contain at least `bufsize` entries). In case of