[cairo-commit] src/cairo-analysis-surface.c

Behdad Esfahbod behdad at kemper.freedesktop.org
Thu Jul 3 15:06:39 PDT 2008


 src/cairo-analysis-surface.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 7c9536b653c062884e2a389d6d3428c42b86aae2
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Thu Jul 3 18:05:27 2008 -0400

    [analysis-surface] Fix crashers introduced in my previous commit
    
    Oops!

diff --git a/src/cairo-analysis-surface.c b/src/cairo-analysis-surface.c
index b847484..e2c8189 100644
--- a/src/cairo-analysis-surface.c
+++ b/src/cairo-analysis-surface.c
@@ -571,7 +571,7 @@ _cairo_analysis_surface_show_glyphs (void		  *abstract_surface,
 								   scaled_font,
 								   remaining_glyphs);
     else if (surface->target->backend->show_text_glyphs)
-	backend_status = surface->target->backend->show_text_glyphs (surface, op,
+	backend_status = surface->target->backend->show_text_glyphs (surface->target, op,
 								     source,
 								     NULL, 0,
 								     glyphs, num_glyphs,
@@ -653,7 +653,7 @@ _cairo_analysis_surface_show_text_glyphs (void			    *abstract_surface,
 								     scaled_font);
     if (backend_status == CAIRO_INT_STATUS_UNSUPPORTED && surface->target->backend->show_glyphs) {
 	int remaining_glyphs = num_glyphs;
-	backend_status = surface->target->backend->show_glyphs (surface, op,
+	backend_status = surface->target->backend->show_glyphs (surface->target, op,
 								source,
 								glyphs, num_glyphs,
 								scaled_font,


More information about the cairo-commit mailing list