summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-09-09 12:19:51 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2009-09-09 12:19:51 +0100
commit41fbea053a8feb201a4f11aaf4dff86fea0bcb01 (patch)
tree9a0c1d35be1079d9baaf5dd65f61411f4cb3b86b
parentc61480a319bad55b0b4cf3f2be609bde9f2c5948 (diff)
[test] Typo in ft-show-glyphs-positioning
Note to self: remember to sleep more often.
-rw-r--r--test/ft-show-glyphs-positioning.c2
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;