[cairo-commit] cairo/src cairo_pdf_surface.c,1.13,1.14

Kristian Hogsberg commit at pdx.freedesktop.org
Sun Feb 13 20:36:31 PST 2005


Committed by: krh

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

Modified Files:
	cairo_pdf_surface.c 
Log Message:
2005-02-13  Kristian Høgsberg  <krh at redhat.com>

        * src/cairo_pdf_surface.c
        (_cairo_pdf_surface_create_for_document): Initialize array element
        size correctly.



Index: cairo_pdf_surface.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo_pdf_surface.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- cairo_pdf_surface.c	13 Feb 2005 20:41:42 -0000	1.13
+++ cairo_pdf_surface.c	14 Feb 2005 04:36:28 -0000	1.14
@@ -948,7 +948,7 @@
     _cairo_array_init (&surface->patterns, sizeof (cairo_pdf_resource_t));
     _cairo_array_init (&surface->xobjects, sizeof (cairo_pdf_resource_t));
     _cairo_array_init (&surface->alphas, sizeof (double));
-    _cairo_array_init (&surface->fonts, sizeof (cairo_pdf_font_t));
+    _cairo_array_init (&surface->fonts, sizeof (cairo_pdf_resource_t));
 
     return &surface->base;
 }




More information about the cairo-commit mailing list