summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-03-19 03:43:33 +0000
committerMatthias Clasen <mclasen@redhat.com>2022-03-19 03:43:33 +0000
commit74e437bc6502aae80b3a3a9b0775cbd841665617 (patch)
tree459e238c79709b9b616148810120eb6af1d18ae1 /pango
parentf9d0b6da8f4ad1a285d462ae381d861738d0ced1 (diff)
parentb36001e880dc13ba4d782a4f2a4a58467284229d (diff)
downloadpango-74e437bc6502aae80b3a3a9b0775cbd841665617.tar.gz
Merge branch 'matthiasc/for-main' into 'main'
ci: Use the timeout multiplier when running tests See merge request GNOME/pango!605
Diffstat (limited to 'pango')
-rw-r--r--pango/pango-attributes.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/pango/pango-attributes.c b/pango/pango-attributes.c
index 60d14706..4d7111fa 100644
--- a/pango/pango-attributes.c
+++ b/pango/pango-attributes.c
@@ -2184,6 +2184,9 @@ pango_attr_list_change (PangoAttrList *list,
if (tmp_attr2->start_index >= tmp_attr->start_index)
break;
+
+ g_ptr_array_index (list->attributes, k - 1) = tmp_attr2;
+ g_ptr_array_index (list->attributes, k) = tmp_attr;
}
}
}