summaryrefslogtreecommitdiff
path: root/modules/hebrew/hebrew-fc.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/hebrew/hebrew-fc.c')
-rw-r--r--modules/hebrew/hebrew-fc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/hebrew/hebrew-fc.c b/modules/hebrew/hebrew-fc.c
index fd12d983..b396fa92 100644
--- a/modules/hebrew/hebrew-fc.c
+++ b/modules/hebrew/hebrew-fc.c
@@ -348,13 +348,13 @@ hebrew_engine_shape (PangoEngineShape *engine,
if (pango_is_zero_width (wc)) /* Zero-width characters */
{
- pango_ot_buffer_add_glyph (buffer, PANGO_GLYPH_NULL, unknown_property, p - text);
+ pango_ot_buffer_add_glyph (buffer, PANGO_GLYPH_EMPTY, unknown_property, p - text);
}
else
{
index = pango_fc_font_get_glyph (fc_font, wc);
- if (index == PANGO_GLYPH_NULL)
+ if (!index)
{
pango_ot_buffer_add_glyph (buffer, pango_fc_font_get_unknown_glyph (fc_font, wc),
unknown_property, p - text);