2439 [PP] Links are not underlined correctly

This commit is contained in:
davidm%netscape.com 1999-02-01 23:50:25 +00:00
parent d71b7f88d5
commit 4217faf63a

View File

@ -195,8 +195,8 @@ nsFontMetricsMac :: GetUnderline(nscoord& aOffset, nscoord& aSize)
{
float dev2app;
mContext->GetDevUnitsToAppUnits(dev2app);
aOffset = - dev2app;
aSize = dev2app;
aOffset = -NSToCoordRound( dev2app );
aSize = NSToCoordRound( dev2app );
return NS_OK;
}