From bd8a710ee7fb4799626c663121e447a8d2285951 Mon Sep 17 00:00:00 2001 From: Morten Welinder Date: Wed, 14 Sep 2005 17:13:31 +0000 Subject: Apply fix for #316054 on this branch too. 2005-09-14 Morten Welinder * pango/pango-attributes.c (pango_attr_list_splice): Apply fix for #316054 on this branch too. --- ChangeLog | 5 +++++ pango/pango-attributes.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f54b72bf..b1cacd91 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-09-14 Morten Welinder + + * pango/pango-attributes.c (pango_attr_list_splice): Apply fix for + #316054 on this branch too. + 2005-08-15 Behdad Esfahbod * pango/opentype/ftglue.h: Replace perror with perror_. diff --git a/pango/pango-attributes.c b/pango/pango-attributes.c index 5c1f5796..22fa749b 100644 --- a/pango/pango-attributes.c +++ b/pango/pango-attributes.c @@ -1399,7 +1399,7 @@ pango_attr_list_splice (PangoAttrList *list, * an element could (in theory) suprise the caller, so * we don't delete it. */ - attr->start_index = CLAMP_ADD (attr->end_index, ulen); + attr->start_index = CLAMP_ADD (attr->start_index, ulen); attr->end_index = CLAMP_ADD (attr->end_index, ulen); } -- cgit v1.2.1