summaryrefslogtreecommitdiff
path: root/pango/break.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/break.c')
-rw-r--r--pango/break.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/break.c b/pango/break.c
index 26a79873..58bf2f90 100644
--- a/pango/break.c
+++ b/pango/break.c
@@ -1597,7 +1597,7 @@ tailor_break (const char *text,
res = break_script (text, length, analysis, attrs, attrs_len);
- if (item_offset >= 0)
+ if (item_offset >= 0 && analysis->extra_attrs)
res |= break_attrs (text, length, analysis->extra_attrs, item_offset, attrs, attrs_len);
return res;