[Commit] cairo/src cairo.c,1.10,1.11
Carl Worth
commit at keithp.com
Mon Sep 15 08:55:12 PDT 2003
Committed by: cworth
Update of /local/src/CVS/cairo/src
In directory home.keithp.com:/tmp/cvs-serv4984/src
Modified Files:
cairo.c
Log Message:
Fix for invalid restore from keithp.
Began adding notes on arc support.
Index: cairo.c
===================================================================
RCS file: /local/src/CVS/cairo/src/cairo.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- cairo.c 10 Sep 2003 00:38:10 -0000 1.10
+++ cairo.c 15 Sep 2003 14:55:10 -0000 1.11
@@ -110,15 +110,13 @@
if (cr->status)
return;
- if (cr->gstate == NULL) {
- cr->status = CAIRO_STATUS_INVALID_RESTORE;
- return;
- }
-
top = cr->gstate;
cr->gstate = top->next;
_cairo_gstate_destroy (top);
+
+ if (cr->gstate == NULL)
+ cr->status = CAIRO_STATUS_INVALID_RESTORE;
}
slim_hidden_def(cairo_restore);
More information about the Commit
mailing list