Merge branch 'g_string_replace_doc_fix' into 'master'

g_string_replace(): Fix documentation of 'limit' parameter

See merge request GNOME/glib!2052
This commit is contained in:
Philip Withnall 2021-04-19 09:28:25 +00:00
commit d602523988

View File

@ -964,7 +964,7 @@ 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
* instances is `0`, all instances of @find are replaced.
* @limit is `0`, all instances of @find are replaced.
*
* Returns: the number of find and replace operations performed.
*