[cairo-commit] cairo/src cairo.c,1.37,1.38

David Reveman commit at pdx.freedesktop.org
Mon May 24 02:45:02 PDT 2004


Committed by: davidr

Update of /cvs/cairo/cairo/src
In directory pdx:/tmp/cvs-serv7419/src

Modified Files:
	cairo.c 
Log Message:
Moved CAIRO_CHECK_SANITY below declarations

Index: cairo.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** a/cairo.c	20 May 2004 23:42:56 -0000	1.37
--- b/cairo.c	24 May 2004 09:45:00 -0000	1.38
***************
*** 137,143 ****
  cairo_restore (cairo_t *cr)
  {
-     CAIRO_CHECK_SANITY (cr);
      cairo_gstate_t *top;
  
      if (cr->status)
  	return;
--- 137,143 ----
  cairo_restore (cairo_t *cr)
  {
      cairo_gstate_t *top;
  
+     CAIRO_CHECK_SANITY (cr);
      if (cr->status)
  	return;
***************
*** 829,835 ****
  cairo_current_font (cairo_t *cr)
  {
!     CAIRO_CHECK_SANITY (cr);
!     cairo_font_t *ret;  
  
      if (cr->status)
  	return NULL;
--- 829,835 ----
  cairo_current_font (cairo_t *cr)
  {
!     cairo_font_t *ret;
  
+     CAIRO_CHECK_SANITY (cr);
      if (cr->status)
  	return NULL;





More information about the cairo-commit mailing list