docs: Clarify dest requirements of g_utf8_strncpy()

(Minor wording tweak by Philip Withnall.)

https://bugzilla.gnome.org/show_bug.cgi?id=520116
This commit is contained in:
Patrick Griffis 2017-11-28 06:43:56 -05:00 committed by Philip Withnall
parent 40be86bb0e
commit 1c0bed93a3

View File

@ -421,6 +421,9 @@ 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
* largest possible UTF-8 characters
*
* Returns: @dest
*/
gchar *