[cairo-commit] cairo-demo/cairo_snippets ChangeLog, 1.29, 1.30 cairo_snippets_png.c, 1.6, 1.7

Owen Taylor commit at pdx.freedesktop.org
Fri Mar 4 10:39:38 PST 2005


Committed by: otaylor

Update of /cvs/cairo/cairo-demo/cairo_snippets
In directory gabe:/tmp/cvs-serv5030

Modified Files:
	ChangeLog cairo_snippets_png.c 
Log Message:
2005-03-04  Owen Taylor  <otaylor at redhat.com>

	* cairo_snippets_png.c (snippet_do_png): Open output file
	with "wb".

Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/cairo-demo/cairo_snippets/ChangeLog,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- ChangeLog	24 Feb 2005 16:21:01 -0000	1.29
+++ ChangeLog	4 Mar 2005 18:39:36 -0000	1.30
@@ -1,3 +1,8 @@
+2005-03-04  Owen Taylor  <otaylor at redhat.com>
+
+	* cairo_snippets_png.c (snippet_do_png): Open output file
+	with "wb".
+
 2005-02-24 Owen Taylor <otaylor at redhat.com>
 
 	* configure.ac Makefile.am: Build the PDF and Win32 

Index: cairo_snippets_png.c
===================================================================
RCS file: /cvs/cairo/cairo-demo/cairo_snippets/cairo_snippets_png.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- cairo_snippets_png.c	11 Jan 2005 22:38:03 -0000	1.6
+++ cairo_snippets_png.c	4 Mar 2005 18:39:36 -0000	1.7
@@ -43,7 +43,7 @@
 
         sprintf (pngfile, "%s.png", snippet_name [no]);
 
-        file = fopen (pngfile, "w");
+        file = fopen (pngfile, "wb");
 
         cr = cairo_create ();
 




More information about the cairo-commit mailing list