gstring: Cleanup documentation of g_string_replace

Clean up the documentation of `g_string_replace()`'s `limit` parameter.
This commit is contained in:
Peter Bloomfield 2021-04-27 18:55:17 -04:00
parent 4669f91e0b
commit ab62e655b3

View File

@ -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.
*