[Commit] cairo-demo/X11 cairo-spline.c,1.2,1.3

Carl Worth commit at keithp.com
Tue Sep 16 11:26:21 PDT 2003


Committed by: cworth

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

Modified Files:
	cairo-spline.c 
Log Message:
Fix uninitialized values

Index: cairo-spline.c
===================================================================
RCS file: /local/src/CVS/cairo-demo/X11/cairo-spline.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- cairo-spline.c	4 Sep 2003 13:54:29 -0000	1.2
+++ cairo-spline.c	16 Sep 2003 17:26:19 -0000	1.3
@@ -482,6 +482,9 @@
     win->line_width = DEFAULT_LINE_WIDTH;
     win->line_cap = DEFAULT_LINE_CAP;
     win->zoom = DEFAULT_ZOOM;
+    win->xtrans = DEFAULT_XTRANS;
+    win->ytrans = DEFAULT_YTRANS;
+
     win->show_path = 1;
 
     win->drag = 0;




More information about the Commit mailing list