Merge branch 'fix-documentation-of-limit-in-gstringreplace' into 'master'

gstring: Cleanup documentation of g_string_replace

See merge request GNOME/glib!2071
This commit is contained in:
Sebastian Dröge 2021-04-29 08:02:36 +00:00
commit 28b18cab06

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