From ae70a4e5af19ca104617227e794a6124888007de Mon Sep 17 00:00:00 2001 From: Cody Russell Date: Wed, 22 Aug 2007 17:25:59 +0000 Subject: [PATCH] Document g_snprintf to return "bytes" rather than "characters". 2007-08-22 Cody Russell * glib/gprintf.c: Document g_snprintf to return "bytes" rather than "characters". svn path=/trunk/; revision=5716 --- ChangeLog | 5 +++++ glib/gprintf.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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