diff --git a/ChangeLog b/ChangeLog index 25b66d167..f8d3f9353 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-08-22 Cody Russell + + * glib/gprintf.c: Document g_snprintf to return "bytes" rather + than "characters". + 2007-08-20 Behdad Esfahbod * glib/guniprop.c: Document that g_unichar_get_script() is diff --git a/glib/gprintf.c b/glib/gprintf.c index 7de0953a2..4bd47a34f 100644 --- a/glib/gprintf.c +++ b/glib/gprintf.c @@ -145,7 +145,7 @@ g_sprintf (gchar *string, * The format string may contain positional parameters, as specified in * the Single Unix Specification. * - * Returns: the number of characters which would be produced if the buffer + * Returns: the number of bytes which would be produced if the buffer * was large enough. **/ gint