summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Bloomfield <PeterBloomfield@bellsouth.net>2021-04-27 18:55:17 -0400
committerPeter Bloomfield <PeterBloomfield@bellsouth.net>2021-04-27 18:55:17 -0400
commitab62e655b35de702e4433043b3984f0e0c3f36f4 (patch)
tree9d8b628694bf2c9a4ab9a5b41c915466042c3d45
parent4669f91e0b12aed28f055de3550db4d020e4831c (diff)
downloadglib-ab62e655b35de702e4433043b3984f0e0c3f36f4.tar.gz
gstring: Cleanup documentation of g_string_replace
Clean up the documentation of `g_string_replace()`'s `limit` parameter.
-rw-r--r--glib/gstring.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/glib/gstring.c b/glib/gstring.c
index 892ae4adc..ad2ec1771 100644
--- a/glib/gstring.c
+++ b/glib/gstring.c
@@ -963,8 +963,8 @@ g_string_erase (GString *string,
*
* Replaces the string @find with the string @replace in a #GString up to
* @limit times. If the number of instances of @find in the #GString is
- * less than @limit, all instances are replaced. If the number of
- * @limit is `0`, all instances of @find are replaced.
+ * less than @limit, all instances are replaced. If @limit is `0`,
+ * all instances of @find are replaced.
*
* Returns: the number of find and replace operations performed.
*