From ab62e655b35de702e4433043b3984f0e0c3f36f4 Mon Sep 17 00:00:00 2001 From: Peter Bloomfield Date: Tue, 27 Apr 2021 18:55:17 -0400 Subject: [PATCH] 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. *