From 8e80b63b1a7cb805f602e014f5054fb816e698c8 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 5 May 2003 18:26:38 +0000 Subject: [PATCH] Some doc fixes. (#111805) 2003-05-05 Matthias Clasen * glib/gstrfuncs.c (g_ascii_dtostr): (g_ascii_formatd): (g_ascii_strtod): Some doc fixes. (#111805) --- ChangeLog | 6 ++++++ ChangeLog.pre-2-10 | 6 ++++++ ChangeLog.pre-2-12 | 6 ++++++ ChangeLog.pre-2-4 | 6 ++++++ ChangeLog.pre-2-6 | 6 ++++++ ChangeLog.pre-2-8 | 6 ++++++ glib/gstrfuncs.c | 8 ++++---- 7 files changed, 40 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8ea8b547c..11fd4b4e7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-05-05 Matthias Clasen + + * glib/gstrfuncs.c (g_ascii_dtostr): + (g_ascii_formatd): + (g_ascii_strtod): Some doc fixes. (#111805) + 2003-05-05 Christian Rose * configure.in: Added sr and sr@Latn to ALL_LINGUAS. diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 8ea8b547c..11fd4b4e7 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +2003-05-05 Matthias Clasen + + * glib/gstrfuncs.c (g_ascii_dtostr): + (g_ascii_formatd): + (g_ascii_strtod): Some doc fixes. (#111805) + 2003-05-05 Christian Rose * configure.in: Added sr and sr@Latn to ALL_LINGUAS. diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index 8ea8b547c..11fd4b4e7 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,9 @@ +2003-05-05 Matthias Clasen + + * glib/gstrfuncs.c (g_ascii_dtostr): + (g_ascii_formatd): + (g_ascii_strtod): Some doc fixes. (#111805) + 2003-05-05 Christian Rose * configure.in: Added sr and sr@Latn to ALL_LINGUAS. diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 8ea8b547c..11fd4b4e7 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,9 @@ +2003-05-05 Matthias Clasen + + * glib/gstrfuncs.c (g_ascii_dtostr): + (g_ascii_formatd): + (g_ascii_strtod): Some doc fixes. (#111805) + 2003-05-05 Christian Rose * configure.in: Added sr and sr@Latn to ALL_LINGUAS. diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 8ea8b547c..11fd4b4e7 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +2003-05-05 Matthias Clasen + + * glib/gstrfuncs.c (g_ascii_dtostr): + (g_ascii_formatd): + (g_ascii_strtod): Some doc fixes. (#111805) + 2003-05-05 Christian Rose * configure.in: Added sr and sr@Latn to ALL_LINGUAS. diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 8ea8b547c..11fd4b4e7 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +2003-05-05 Matthias Clasen + + * glib/gstrfuncs.c (g_ascii_dtostr): + (g_ascii_formatd): + (g_ascii_strtod): Some doc fixes. (#111805) + 2003-05-05 Christian Rose * configure.in: Added sr and sr@Latn to ALL_LINGUAS. diff --git a/glib/gstrfuncs.c b/glib/gstrfuncs.c index 5eee1d9b8..e6fd0fe3a 100644 --- a/glib/gstrfuncs.c +++ b/glib/gstrfuncs.c @@ -327,7 +327,7 @@ g_strtod (const gchar *nptr, * To handle input from the user you should normally use the * locale-sensitive system strtod() function. * - * To convert from a string to #gdouble in a locale-insensitive + * To convert from a #gdouble to a string in a locale-insensitive * way, use g_ascii_dtostr(). * * If the correct value would cause overflow, plus or minus %HUGE_VAL @@ -477,7 +477,7 @@ g_ascii_strtod (const gchar *nptr, * decimal point. * * This functions generates enough precision that converting - * the string back using g_strtod() gives the same machine-number + * the string back using g_ascii_strtod() gives the same machine-number * (on machines with IEEE compatible 64bit doubles). It is * guaranteed that the size of the resulting string will never * be larger than @G_ASCII_DTOSTR_BUF_SIZE bytes. @@ -496,13 +496,13 @@ g_ascii_dtostr (gchar *buffer, * g_ascii_formatd: * @buffer: A buffer to place the resulting string in * @buf_len: The length of the buffer. - * @format: The printf-style format to use for the + * @format: The printf()-style format to use for the * code to use for converting. * @d: The #gdouble to convert * * Converts a #gdouble to a string, using the '.' as * decimal point. To format the number you pass in - * a printf-style formating string. Allowed conversion + * a printf()-style format string. Allowed conversion * specifiers are 'e', 'E', 'f', 'F', 'g' and 'G'. * * If you just want to want to serialize the value into a