summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2006-04-12 13:40:05 -0700
committerCarl Worth <cworth@cworth.org>2006-04-12 13:40:05 -0700
commit32994379db92ef8208ba11b825b1246e2b442566 (patch)
treee82c90c094b6d980f8f4045a2e558c6ef93ff4a4
parent5444aa55b35aff7d6cff8b5e8a5ab020711562ac (diff)
Fix missing argument to printf in _cairo_ps_surface_stat_page
-rw-r--r--src/cairo-ps-surface.c5
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",