summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-01-07 20:21:31 -0500
committerMatthias Clasen <mclasen@redhat.com>2022-01-07 21:36:55 -0500
commit65d2e49cebe4a09fba60f612fd343f9d9f008c1c (patch)
tree22e24d36480ec43d5e38855d0e276eeb525955f9
parent3441513dae3c1993720b618fc705d2f8d2434c47 (diff)
downloadpango-65d2e49cebe4a09fba60f612fd343f9d9f008c1c.tar.gz
Clarify pango_attr_list_splice docs
Make it explicit that the spliced-in attributes are limited to the the 'gap'.
-rw-r--r--pango/pango-attributes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-attributes.c b/pango/pango-attributes.c
index cafe0df3..c9b58b07 100644
--- a/pango/pango-attributes.c
+++ b/pango/pango-attributes.c
@@ -2289,7 +2289,7 @@ pango_attr_list_update (PangoAttrList *list,
* that applies at position @pos in @list by an amount @len,
* and then calling [method@Pango.AttrList.change] with a copy
* of each attribute in @other in sequence (offset in position
- * by @pos).
+ * by @pos, and limited in lengh to @len).
*
* This operation proves useful for, for instance, inserting
* a pre-edit string in the middle of an edit buffer.