[cairo-commit] cairo/src cairo-glitz-surface.c,1.50,1.51

David Reveman commit at pdx.freedesktop.org
Thu Jul 21 08:50:23 PDT 2005


Committed by: davidr

Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv8738/src

Modified Files:
	cairo-glitz-surface.c 
Log Message:
Fix empty glyph issue in glitz backend

Index: cairo-glitz-surface.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-glitz-surface.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- cairo-glitz-surface.c	21 Jul 2005 07:35:07 -0000	1.50
+++ cairo-glitz-surface.c	21 Jul 2005 15:50:21 -0000	1.51
@@ -1266,10 +1266,13 @@
 static void
 _cairo_glitz_area_move_out (cairo_glitz_area_t *area)
 {
-    (*area->root->funcs->move_out) (area, area->closure);
+    if (area->root)
+    {
+	(*area->root->funcs->move_out) (area, area->closure);
 
-    area->closure = NULL;
-    area->state   = CAIRO_GLITZ_AREA_AVAILABLE;
+	area->closure = NULL;
+	area->state   = CAIRO_GLITZ_AREA_AVAILABLE;
+    }
 }
 
 static cairo_glitz_area_t *




More information about the cairo-commit mailing list