[cairo-commit] src/cairo-ft-font.c

Carl Worth cworth at kemper.freedesktop.org
Thu Aug 3 19:28:14 PDT 2006


 src/cairo-ft-font.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

New commits:
diff-tree 2815d9ad38f2df45c58fbeb38591afba28b4917b (from 1feb4291cf7813494355459bb547eec604c54ffb)
Author: Carl Worth <cworth at cworth.org>
Date:   Thu Aug 3 19:28:11 2006 -0700

    Use base pointer to avoid compiler warning.

diff --git a/src/cairo-ft-font.c b/src/cairo-ft-font.c
index 6e333a3..8814f03 100644
--- a/src/cairo-ft-font.c
+++ b/src/cairo-ft-font.c
@@ -2003,7 +2003,7 @@ _cairo_ft_load_truetype_table (void	    
     FT_Face face;
     cairo_status_t status = CAIRO_INT_STATUS_UNSUPPORTED;
 
-    if (_cairo_ft_scaled_font_is_vertical (scaled_font))
+    if (_cairo_ft_scaled_font_is_vertical (&scaled_font->base))
         return CAIRO_INT_STATUS_UNSUPPORTED;
 
     face = _cairo_ft_unscaled_font_lock_face (unscaled);


More information about the cairo-commit mailing list