[glib: 1/2] gstring: Cleanup documentation of g_string_replace




commit ab62e655b35de702e4433043b3984f0e0c3f36f4
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Tue Apr 27 18:55:17 2021 -0400

    gstring: Cleanup documentation of g_string_replace
    
    Clean up the documentation of `g_string_replace()`'s `limit` parameter.

 glib/gstring.c | 4 ++--
 1 file 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.
  *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]