fixed bug in SWFOutputDev::getDimensions().
authorkramm <kramm>
Mon, 22 Nov 2004 19:18:46 +0000 (19:18 +0000)
committerkramm <kramm>
Mon, 22 Nov 2004 19:18:46 +0000 (19:18 +0000)
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)