fixed "startdepth" white background bug.
[swftools.git] / pdf2swf / swfoutput.cc
index 98701b0..81d9a8b 100644 (file)
@@ -1533,8 +1533,7 @@ void swfoutput_newpage(struct swfoutput*obj)
         swf_SetU16(tag,depth);
     }
 
-    depth = 1;
-    startdepth = depth;
+    depth = startdepth;
 }
 
 /* "destroy" like in (oo-terminology) "destructor". Perform cleaning