mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fix bustage from bug 381631.
This commit is contained in:
parent
33f7ff8d10
commit
500b1f8f01
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user