From 6f7d73071afc272dd07b06e72cf2c489402c13e7 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Fri, 9 Oct 2020 23:30:50 +1100 Subject: [PATCH] docs: fix simple typo, encounted -> encountered (#201) There is a small typo in utf8proc.h. Should read `encountered` rather than `encounted`. --- utf8proc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utf8proc.h b/utf8proc.h index 6cf1b72..c977192 100644 --- 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