Fix bustage from bug 381631.

This commit is contained in:
kherron@fmailbox.com 2007-06-24 04:47:08 -07:00
parent 33f7ff8d10
commit 500b1f8f01

View File

@ -529,7 +529,7 @@ NS_IMETHODIMP nsDeviceContextSpecWin::GetSurfaceForPrinter(gfxASurface **surface
nsXPIDLString filename;
mPrintSettings->GetToFileName(getter_Copies(filename));
PRInt32 width, height;
double width, height;
mPrintSettings->GetEffectivePageSize(&width, &height);
// convert twips to points
width /= 20;