summaryrefslogtreecommitdiff
path: root/unicode.h
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-10 12:31:03 -0500
committerpommicket <pommicket@gmail.com>2022-12-10 12:31:03 -0500
commitb7cbc84f296024d3a89e4604c1b114e79b4e752e (patch)
tree6e093847a80a30ee93e929c793c7076062454692 /unicode.h
parenta604ad77ff7ef6a75cccdeb86d1a5608caf7c2a6 (diff)
more lsp
Diffstat (limited to 'unicode.h')
-rw-r--r--unicode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/unicode.h b/unicode.h
index 211efd6..fb9810a 100644
--- a/unicode.h
+++ b/unicode.h
@@ -13,7 +13,7 @@ static bool unicode_is_start_of_code_point(u8 byte) {
// *c will be filled with the next UTF-8 code point in `str`. `bytes` refers to the maximum
// number of bytes that can be read from `str`.
// Returns:
-// 0 - if a NULL character was encountered
+// 0 - if a null character was encountered
// (size_t)-1 - on invalid UTF-8
// (size_t)-2 - on incomplete code point (str should be longer)
// other - the number of bytes read from `str`.