[cairo-commit] src/cairo-gstate.c

Carl Worth cworth at kemper.freedesktop.org
Fri Oct 26 22:59:51 PDT 2007


 src/cairo-gstate.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a69d4731300b430b802222d317698c313c75a31a
Author: Carl Worth <cworth at cworth.org>
Date:   Fri Oct 26 22:58:57 2007 -0700

    Fix typo in _cairo_gstate_fini
    
    Obrigado a Luiz Americo Pereira Camara <luizmed at oi.com.br>

diff --git a/src/cairo-gstate.c b/src/cairo-gstate.c
index 0c6b217..c2ab8a2 100644
--- a/src/cairo-gstate.c
+++ b/src/cairo-gstate.c
@@ -189,7 +189,7 @@ _cairo_gstate_fini (cairo_gstate_t *gstate)
     gstate->parent_target = NULL;
 
     cairo_surface_destroy (gstate->original_target);
-    gstate->target = NULL;
+    gstate->original_target = NULL;
 
     cairo_pattern_destroy (gstate->source);
     gstate->source = NULL;


More information about the cairo-commit mailing list