diff options
author | Matthias Clasen <maclas@gmx.de> | 2003-05-05 18:26:38 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2003-05-05 18:26:38 +0000 |
commit | 8e80b63b1a7cb805f602e014f5054fb816e698c8 (patch) | |
tree | a168b0d6c09b0b5719cb2d87628a582ab8bdbc04 /glib/gstrfuncs.c | |
parent | 7feee9b51385cceb65b70a578a2a17be0be210d9 (diff) | |
download | glib-8e80b63b1a7cb805f602e014f5054fb816e698c8.tar.gz |
Some doc fixes. (#111805)
2003-05-05 Matthias Clasen <maclas@gmx.de>
* glib/gstrfuncs.c (g_ascii_dtostr):
(g_ascii_formatd):
(g_ascii_strtod): Some doc fixes. (#111805)
Diffstat (limited to 'glib/gstrfuncs.c')
-rw-r--r-- | glib/gstrfuncs.c | 8 |
1 files changed, 4 insertions, 4 deletions
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 |