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-09 23:39:26 -0500
commitbe198b0875a92238e3b7d5a208bfb5db15be44ae (patch)
tree1b8765c28b6f70f897c69ee5b8d4358d542e5019
parent7fe3d94bab3400fcd5a6d8ee97901ecfb88d9bf5 (diff)
downloadpango-be198b0875a92238e3b7d5a208bfb5db15be44ae.tar.gz
Clarify pang_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 cb3d917d..e0272d0d 100644
--- a/pango/pango-attributes.c
+++ b/pango/pango-attributes.c
@@ -1810,7 +1810,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.