[cairo-commit] cairo/src cairo.c,1.35,1.36

Carl Worth commit at pdx.freedesktop.org
Mon May 17 08:03:19 PDT 2004


Committed by: cworth

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

Modified Files:
	cairo.c 
Log Message:

        * src/cairo.c (cairo_show_text): Do nothing when passed a NULL
        string.


Index: cairo.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -C2 -d -r1.35 -r1.36
*** a/cairo.c	6 Apr 2004 16:36:12 -0000	1.35
--- b/cairo.c	17 May 2004 15:03:17 -0000	1.36
***************
*** 769,772 ****
--- 769,775 ----
  	return;
  
+     if (utf8 == NULL)
+ 	return;
+ 
      cr->status = _cairo_gstate_show_text (cr->gstate, utf8);
  }





More information about the cairo-commit mailing list