not using scaled pixels to twips

b=21293 r=dcone
This commit is contained in:
rods%netscape.com 1999-12-10 23:59:27 +00:00
parent 7604df3df9
commit 14a871afc2
2 changed files with 2 additions and 2 deletions

View File

@ -212,7 +212,7 @@ nsFormControlHelper::CalcNavQuirkSizing(nsIPresContext* aPresContext,
{
float p2t;
float t2p;
aPresContext->GetScaledPixelsToTwips(&p2t);
aPresContext->GetPixelsToTwips(&p2t);
aPresContext->GetTwipsToPixels(&t2p);
nscoord ascent;

View File

@ -212,7 +212,7 @@ nsFormControlHelper::CalcNavQuirkSizing(nsIPresContext* aPresContext,
{
float p2t;
float t2p;
aPresContext->GetScaledPixelsToTwips(&p2t);
aPresContext->GetPixelsToTwips(&p2t);
aPresContext->GetTwipsToPixels(&t2p);
nscoord ascent;