]> www.fi.muni.cz Git - evince.git/commitdiff
Zero page_[xy]_offset.
authorMartin Kretzschmar <martink@src.gnome.org>
Fri, 21 Jan 2005 13:34:18 +0000 (13:34 +0000)
committerMartin Kretzschmar <martink@src.gnome.org>
Fri, 21 Jan 2005 13:34:18 +0000 (13:34 +0000)
* ps/ps-document.c (ps_document_init): Zero page_[xy]_offset.

ps/ps-document.c

index 848d1a7075f890939648ff9c5b2b77c812e57ebf..fb1dd3d68e6a0a6befe41e38f57c549102c52dbb 100644 (file)
@@ -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();