From 41fbea053a8feb201a4f11aaf4dff86fea0bcb01 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 9 Sep 2009 12:19:51 +0100 Subject: [test] Typo in ft-show-glyphs-positioning Note to self: remember to sleep more often. --- test/ft-show-glyphs-positioning.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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; -- cgit v1.2.3