[cairo-commit] cairo-demo/cairo_snippets ChangeLog, 1.16, 1.17 prepare_snippets.c, 1.3, 1.4

OEyvind Kolaas commit at pdx.freedesktop.org
Sun Jun 6 18:02:37 PDT 2004


Committed by: pippin

Update of /cvs/cairo/cairo-demo/cairo_snippets
In directory pdx:/tmp/cvs-serv24709

Modified Files:
	ChangeLog prepare_snippets.c 
Log Message:
escape back slashes correctly


Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/cairo-demo/cairo_snippets/ChangeLog,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** a/ChangeLog	4 Jun 2004 15:37:27 -0000	1.16
--- b/ChangeLog	7 Jun 2004 01:02:35 -0000	1.17
***************
*** 1,2 ****
--- 1,5 ----
+ 2004-07-04  OEyvind Kolaas <pippin at freedesktop.org>
+ 	* prepare_snippets.c : escape back slash correctly
+ 
  2004-06-04  Carl Worth  <cworth at isi.edu>
  

Index: prepare_snippets.c
===================================================================
RCS file: /cvs/cairo/cairo-demo/cairo_snippets/prepare_snippets.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** a/prepare_snippets.c	20 May 2004 13:17:20 -0000	1.3
--- b/prepare_snippets.c	7 Jun 2004 01:02:35 -0000	1.4
***************
*** 96,103 ****
             switch (c){
                     case '\"':
!                       fprintf (out, "\\\"", c);
                        break;
                     case '\n':
!                       fprintf (out, "\\n\"\n\"", c);
                        break;
                     default:
--- 96,106 ----
             switch (c){
                     case '\"':
!                       fprintf (out, "\\\"");
                        break;
                     case '\n':
!                       fprintf (out, "\\n\"\n\"");
!                       break;
!                    case '\\':
!                       fprintf (out, "\\\\");
                        break;
                     default:





More information about the cairo-commit mailing list