[glib: 1/2] g_string_replace(): Fix documentation of 'limit' parameter
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/2] g_string_replace(): Fix documentation of 'limit' parameter
- Date: Mon, 19 Apr 2021 09:28:28 +0000 (UTC)
commit 225fec1329567e37375e8c130e1a5541f441c76e
Author: Nelson Ben <nbenitezl gmail com>
Date: Sun Apr 18 18:31:32 2021 +0000
g_string_replace(): Fix documentation of 'limit' parameter
glib/gstring.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
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.
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]