From 6af6a1702a16376243e0ab318ae4ac121298659a Mon Sep 17 00:00:00 2001 From: Martin Kretzschmar Date: Fri, 21 Jan 2005 13:34:18 +0000 Subject: [PATCH] Zero page_[xy]_offset. * ps/ps-document.c (ps_document_init): Zero page_[xy]_offset. --- ps/ps-document.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ps/ps-document.c b/ps/ps-document.c index 848d1a70..fb1dd3d6 100644 --- a/ps/ps-document.c +++ b/ps/ps-document.c @@ -272,6 +272,9 @@ ps_document_init(PSDocument * gs) gs->right_margin = 0; gs->bottom_margin = 0; + gs->page_x_offset = 0; + gs->page_y_offset = 0; + /* Set user defined defaults */ gs->override_orientation = gtk_gs_defaults_get_override_orientation(); gs->fallback_orientation = gtk_gs_defaults_get_orientation(); -- 2.43.5