summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <philip@tecnocode.co.uk>2021-04-19 09:28:25 +0000
committerPhilip Withnall <philip@tecnocode.co.uk>2021-04-19 09:28:25 +0000
commitd602523988fe09b61efc22e6d8b53bcdd81a9da2 (patch)
tree63e259d43e901618c3d6c33d8621ffe345aba642
parentb63f7ec70b8da7306617f0c7089ae2a770472d1b (diff)
parent225fec1329567e37375e8c130e1a5541f441c76e (diff)
downloadglib-d602523988fe09b61efc22e6d8b53bcdd81a9da2.tar.gz
Merge branch 'g_string_replace_doc_fix' into 'master'
g_string_replace(): Fix documentation of 'limit' parameter See merge request GNOME/glib!2052
-rw-r--r--glib/gstring.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/gstring.c b/glib/gstring.c
index caf338b3a..892ae4adc 100644
--- a/glib/gstring.c
+++ b/glib/gstring.c
@@ -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.
*