[cairo-commit] src/cairo-ps-surface.c
Adrian Johnson
ajohnson at kemper.freedesktop.org
Sun Nov 19 19:15:15 UTC 2017
src/cairo-ps-surface.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 17e2abc992b012ac3dceb2f66fba17d312ae6d77
Author: Adrian Johnson <ajohnson at redneon.com>
Date: Mon Nov 20 05:37:34 2017 +1030
ps: fix compile with old versions of MSVC
https://lists.cairographics.org/archives/cairo/2017-November/028452.html
diff --git a/src/cairo-ps-surface.c b/src/cairo-ps-surface.c
index 42ced1b3..80b8b02a 100644
--- a/src/cairo-ps-surface.c
+++ b/src/cairo-ps-surface.c
@@ -3722,6 +3722,7 @@ _cairo_ps_form_emit (void *entry, void *closure)
cairo_ps_surface_t *surface = closure;
cairo_emit_surface_params_t params;
cairo_int_status_t status;
+ cairo_output_stream_t *old_stream;
params.src_surface = form->src_surface;
params.op = CAIRO_OPERATOR_OVER;
@@ -3730,7 +3731,6 @@ _cairo_ps_form_emit (void *entry, void *closure)
params.stencil_mask = FALSE;
params.is_image = form->is_image;
params.approx_size = 0;
- cairo_output_stream_t *old_stream;
_cairo_output_stream_printf (surface->final_stream,
"%%%%BeginResource: form cairoform-%d\n",
More information about the cairo-commit
mailing list