fixed bug in SWFOutputDev::getDimensions().
[swftools.git] / pdf2swf / SWFOutputDev.cc
index 9fc7828..52f00d0 100644 (file)
@@ -355,7 +355,7 @@ void SWFOutputDev::setClip(int x1,int y1,int x2,int y2)
 }
 void SWFOutputDev::getDimensions(int*x1,int*y1,int*x2,int*y2)
 {
-    return swfoutput_getdimensions(&output, x1,y2,x2,y2);
+    return swfoutput_getdimensions(&output, x1,y1,x2,y2);
 }
 
 static char*getFontID(GfxFont*font)