]> mj.ucw.cz Git - paperjam.git/blobdiff - jam.h
Implemented merge
[paperjam.git] / jam.h
diff --git a/jam.h b/jam.h
index 47d80be2e534b5d811958d27c8225fd3d2888e00..0c52b3b42db0f574c3088557a8bc358331033d85 100644 (file)
--- a/jam.h
+++ b/jam.h
@@ -65,13 +65,14 @@ struct page {
   double height;
   BBox bbox;           // Bounds useful contents
   virtual void render(out_context *out UNUSED, pdf_matrix xform UNUSED) { abort(); }
-  page(double _w=0, double _h=0) : width(_w), height(_h) { }
-  page(page *p) {
-    index = p->index;
-    width = p->width;
-    height = p->height;
-    bbox = p->bbox;
-  }
+  page(double _w=0, double _h=0) : index(0), width(_w), height(_h), bbox() { }
+  page(page *p)
+    {
+      index = p->index;
+      width = p->width;
+      height = p->height;
+      bbox = p->bbox;
+    }
 };
 
 struct empty_page : public page {