diff options
-rw-r--r-- | test/ft-show-glyphs-positioning.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ft-show-glyphs-positioning.c b/test/ft-show-glyphs-positioning.c index 3092fc98..64f6d3cc 100644 --- a/test/ft-show-glyphs-positioning.c +++ b/test/ft-show-glyphs-positioning.c @@ -79,7 +79,7 @@ glyph_array_add_text(glyph_array_t *glyphs, cairo_t *cr, const char *s, double s return status; face = cairo_ft_scaled_font_lock_face (scaled_font); - if (face) + if (face == NULL) return CAIRO_STATUS_FONT_TYPE_MISMATCH; p = s; |