[cairo-commit] test/ft-show-glyphs-positioning.c

Chris Wilson ickle at kemper.freedesktop.org
Wed Sep 9 05:19:49 PDT 2009


 test/ft-show-glyphs-positioning.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 41fbea053a8feb201a4f11aaf4dff86fea0bcb01
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Wed Sep 9 12:19:51 2009 +0100

    [test] Typo in ft-show-glyphs-positioning
    
    Note to self: remember to sleep more often.

diff --git a/test/ft-show-glyphs-positioning.c b/test/ft-show-glyphs-positioning.c
index 3092fc9..64f6d3c 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;


More information about the cairo-commit mailing list