[glib/glib-2-64: 2/3] gutf8: Fix a typo in the docs for g_utf16_to_utf8()




commit 5993bd9509e4ed6d7661274c2482033635b1e7a4
Author: Philip Withnall <withnall endlessm com>
Date:   Thu Sep 10 13:02:54 2020 +0100

    gutf8: Fix a typo in the docs for g_utf16_to_utf8()
    
    Signed-off-by: Philip Withnall <withnall endlessm com>

 glib/gutf8.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/glib/gutf8.c b/glib/gutf8.c
index d1e8879ae..27939e45e 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,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]