[cairo-commit] cairo/src cairo-png.c,1.16,1.17

Carl Worth commit at pdx.freedesktop.org
Wed Jul 27 09:23:31 PDT 2005


Committed by: cworth

Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv11477/src

Modified Files:
	cairo-png.c 
Log Message:

        * src/cairo-png.c: (cairo_image_surface_create_from_png_stream):
        Fix typo that caused cairo_image_surface_create_from_png_stream to
        segfault. Closes bug #3863 (thanks to Steve Chaplin).

        * test/.cvsignore:
        * test/Makefile.am:
        * test/create-from-png-stream-ref.png:
        * test/create-from-png-stream.c:
        * test/create-from-png.c: Add a test to actually call
        cairo_image_surface_create_from_png_stream.


Index: cairo-png.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-png.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- cairo-png.c	14 Jul 2005 18:24:56 -0000	1.16
+++ cairo-png.c	27 Jul 2005 16:23:29 -0000	1.17
@@ -489,6 +489,6 @@
     png_closure.read_func = read_func;
     png_closure.closure = closure;
 
-    return read_png (stream_read_func, &closure);
+    return read_png (stream_read_func, &png_closure);
 }
 




More information about the cairo-commit mailing list