diff options
-rw-r--r-- | src/cairo-ps-surface.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cairo-ps-surface.c b/src/cairo-ps-surface.c index 70e13ed4..ef4b89c4 100644 --- a/src/cairo-ps-surface.c +++ b/src/cairo-ps-surface.c @@ -359,8 +359,9 @@ _cairo_ps_surface_start_page (cairo_ps_surface_t *surface) { _cairo_output_stream_printf (surface->stream, "%%%%Page: %d %d\n", - ++surface->num_pages); - + surface->num_pages, + surface->num_pages); + surface->num_pages++; _cairo_output_stream_printf (surface->stream, "gsave %f %f translate %f %f scale \n", |