diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-11-25 15:33:47 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-11-25 15:33:47 +0000 |
commit | f37d293b9cfcc43def6fe4be0483b898774e5a2f (patch) | |
tree | e920196bc79edae865d1365fb89f894385fa86df /pango/shape.c | |
parent | 55efd092b0319f2a2697c510eafc2b0b23597d26 (diff) | |
parent | 553eac2ba028a87718ca20180cabe78fa3bc0204 (diff) | |
download | pango-f37d293b9cfcc43def6fe4be0483b898774e5a2f.tar.gz |
Merge branch 'serialization-improvements' into 'main'
Rename the serialize errors
See merge request GNOME/pango!520
Diffstat (limited to 'pango/shape.c')
-rw-r--r-- | pango/shape.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pango/shape.c b/pango/shape.c index 02f0f059..afb1e1a3 100644 --- a/pango/shape.c +++ b/pango/shape.c @@ -102,10 +102,12 @@ pango_hb_font_get_nominal_glyph (hb_font_t *font, * don't draw a hex box for 0x20 */ if (unicode == 0x20) - *glyph = PANGO_GET_UNKNOWN_GLYPH (0x2423); + unicode = 0x2423; else - *glyph = PANGO_GET_UNKNOWN_GLYPH (unicode); - return TRUE; + { + *glyph = PANGO_GET_UNKNOWN_GLYPH (unicode); + return TRUE; + } } if ((context->show_flags & PANGO_SHOW_IGNORABLES) != 0 && |