summaryrefslogtreecommitdiffstats
path: root/utf8.c
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2021-10-28 22:40:46 +0200
committerpgen <p.gen.progs@gmail.com>2021-10-28 22:40:46 +0200
commitff4693a968c1b1be5268f9baaabd1baf19083d15 (patch)
tree8d8065d33a8e3f67c69280bf83009285b9947f07 /utf8.c
parent9fd0c1b33cf17b8450d64884b2b2ac1f7df1ab77 (diff)
Update the README file
Diffstat (limited to 'utf8.c')
-rw-r--r--utf8.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/utf8.c b/utf8.c
index 8294181..8e7dfec 100644
--- a/utf8.c
+++ b/utf8.c
@@ -381,8 +381,7 @@ utf8_sanitize(char * s, char substitute)
}
/* ======================================================================= */
-/* The utf8_validate() function scans the '\0'-terminated string starting */
-/* at s. */
+/* This function scans the '\0'-terminated string starting at s. */
/* It returns a pointer to the first byte of the first malformed */
/* or overlong UTF-8 sequence found, or NULL if the string contains only */
/* correct UTF-8. */