[cairo-commit] libsvg/src svg_element.c,1.32,1.33

Keith Packard commit at pdx.freedesktop.org
Fri Apr 30 06:28:30 PDT 2004


Committed by: keithp

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

Modified Files:
	svg_element.c 
Log Message:
	* src/svg_element.c: (_svg_element_init_copy):
	Initialize element->id to NULL when other->id has no id.


Index: svg_element.c
===================================================================
RCS file: /cvs/cairo/libsvg/src/svg_element.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -d -r1.32 -r1.33
*** a/svg_element.c	30 Apr 2004 06:50:33 -0000	1.32
--- b/svg_element.c	30 Apr 2004 13:28:27 -0000	1.33
***************
*** 112,115 ****
--- 112,117 ----
      if (other->id)
  	element->id = xmlMemStrdup (other->id);
+     else
+ 	element->id = NULL;
  
      element->transform = other->transform;





More information about the cairo-commit mailing list