diff options
Diffstat (limited to 'modules/basic/basic-win32.c')
-rw-r--r-- | modules/basic/basic-win32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/basic/basic-win32.c b/modules/basic/basic-win32.c index 58624293..433eb21a 100644 --- a/modules/basic/basic-win32.c +++ b/modules/basic/basic-win32.c @@ -1003,12 +1003,12 @@ basic_engine_shape (PangoEngineShape *engine, if (pango_is_zero_width (wc)) { - set_glyph (font, glyphs, i, p - text, 0); + set_glyph (font, glyphs, i, p - text, PANGO_GLYPH_NULL); } else { index = find_char (font, wc); - if (index) + if (index != PANGO_GLYPH_NULL) { set_glyph (font, glyphs, i, p - text, index); |