summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <withnall@endlessm.com>2020-09-10 13:02:54 +0100
committerPhilip Withnall <withnall@endlessm.com>2020-09-10 14:14:32 +0100
commit9d859f001d8dbf87c479ba8528a2e60d0b5328b7 (patch)
tree3e3680534a0af74a65badd84607e131e7b8bdb4b
parent6f9b379c08bcb12a91b1fc01c9c113c9b7975361 (diff)
downloadglib-9d859f001d8dbf87c479ba8528a2e60d0b5328b7.tar.gz
gutf8: Fix a typo in the docs for g_utf16_to_utf8()
Signed-off-by: Philip Withnall <withnall@endlessm.com>
-rw-r--r--glib/gutf8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/gutf8.c b/glib/gutf8.c
index bcb4f56bc..51ad0d09b 100644
--- a/glib/gutf8.c
+++ b/glib/gutf8.c
@@ -1006,7 +1006,7 @@ g_ucs4_to_utf8 (const gunichar *str,
* string; it may e.g. include embedded NUL characters. The only
* validation done by this function is to ensure that the input can
* be correctly interpreted as UTF-16, i.e. it doesn't contain
- * things unpaired surrogates.
+ * unpaired surrogates or partial character sequences.
*
* Returns: (transfer full): a pointer to a newly allocated UTF-8 string.
* This value must be freed with g_free(). If an error occurs,