[Commit] cairo/src cairo.c,1.17,1.18

Carl Worth commit at keithp.com
Tue Sep 30 15:15:31 PDT 2003


Committed by: cworth

Update of /local/src/CVS/cairo/src
In directory home.keithp.com:/tmp/cvs-serv17902/src

Modified Files:
	cairo.c 
Log Message:
Don't copy a gstate if src->status != 0

Index: cairo.c
===================================================================
RCS file: /local/src/CVS/cairo/src/cairo.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- cairo.c	30 Sep 2003 20:15:09 -0000	1.17
+++ cairo.c	30 Sep 2003 21:15:28 -0000	1.18
@@ -125,8 +125,10 @@
     if (dest->status)
 	return;
 
-    if (src->status)
+    if (src->status) {
 	dest->status = src->status;
+	return;
+    }
 
     dest->status = _cairo_gstate_copy (dest->gstate, src->gstate);
 }




More information about the Commit mailing list