diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-11-26 15:52:59 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-11-26 15:52:59 -0500 |
commit | 358cc4f153001d3c1d1c869d5086ce286ab1e0b6 (patch) | |
tree | e38cfb407e98c36923aba89d374d6e282c7c7c58 /pango | |
parent | 46374f90004edafe466b99c2b4ab66526b285b22 (diff) | |
download | pango-358cc4f153001d3c1d1c869d5086ce286ab1e0b6.tar.gz |
Make sure glyphinfo is fully initialized
The alternative is random test failures, now
that we check all these fields in test-layout.
Diffstat (limited to 'pango')
-rw-r--r-- | pango/pango-layout.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pango/pango-layout.c b/pango/pango-layout.c index a5806774..703f4573 100644 --- a/pango/pango-layout.c +++ b/pango/pango-layout.c @@ -3501,6 +3501,7 @@ shape_tab (PangoLayoutLine *line, glyphs->glyphs[0].geometry.x_offset = 0; glyphs->glyphs[0].geometry.y_offset = 0; glyphs->glyphs[0].attr.is_cluster_start = 1; + glyphs->glyphs[0].attr.is_color = 0; glyphs->log_clusters[0] = 0; |