[cairo-commit] cairo/src cairo-ps-surface.c,1.58,1.59
Carl Worth
commit at pdx.freedesktop.org
Sat Nov 5 22:43:08 PST 2005
Committed by: cworth
Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv18041/src
Modified Files:
cairo-ps-surface.c
Log Message:
2005-11-05 Carl Worth <cworth at cworth.org>
* src/cairo-ps-surface.c: (_cairo_ps_surface_show_page),
(_cairo_ps_surface_get_font): Add missing declarations for status
variables. Thanks to Mikael Hallendal for pointing this out.
Index: cairo-ps-surface.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-ps-surface.c,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -d -r1.58 -r1.59
--- cairo-ps-surface.c 5 Nov 2005 00:13:31 -0000 1.58
+++ cairo-ps-surface.c 6 Nov 2005 06:43:06 -0000 1.59
@@ -337,6 +337,7 @@
static cairo_int_status_t
_cairo_ps_surface_show_page (void *abstract_surface)
{
+ cairo_status_t status;
cairo_ps_surface_t *surface = abstract_surface;
status = _cairo_array_append (&surface->pages, &surface->current_page);
@@ -390,6 +391,7 @@
_cairo_ps_surface_get_font (cairo_ps_surface_t *surface,
cairo_scaled_font_t *scaled_font)
{
+ cairo_status_t status;
cairo_unscaled_font_t *unscaled_font;
cairo_font_subset_t *subset;
unsigned int num_fonts, i;
More information about the cairo-commit
mailing list