Fixing Mac SVG bustage. Not part of the build.

This commit is contained in:
peterv%propagandism.org 2004-02-11 10:04:27 +00:00
parent 6e112289a9
commit e1b10ca1de

View File

@ -117,7 +117,7 @@ nsSVGLibartBitmapMac::Init(nsIRenderingContext* ctx,
mRenderingContext = ctx;
float twipsPerPx;
twipxPerPx = presContext->PixelsToTwips();
twipsPerPx = presContext->PixelsToTwips();
mRectTwips.x = (nscoord)(rect.x*twipsPerPx);
mRectTwips.y = (nscoord)(rect.y*twipsPerPx);
mRectTwips.width = (nscoord)(rect.width*twipsPerPx);