Fix the annotation of g_utf8_strncpy()

This commit is contained in:
Hodong 2022-04-26 18:54:57 +09:00
parent fa55f37a88
commit 797bcf3224

View File

@ -437,7 +437,7 @@ g_utf8_pointer_to_offset (const gchar *str,
* must be valid UTF-8 encoded text. (Use g_utf8_validate() on all
* text before trying to use UTF-8 utility functions with it.)
*
* Note you must ensure @dest is at least 4 * @n to fit the
* Note you must ensure @dest is at least 4 * @n + 1 to fit the
* largest possible UTF-8 characters
*
* Returns: (transfer none): @dest