Forgot to fix margin rect calculation

BUg 118954


git-svn-id: svn://10.0.0.236/trunk@133825 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rods%netscape.com 2002-11-14 15:33:03 +00:00
parent 94b731f412
commit 137ad80cc3
2 changed files with 2 additions and 4 deletions

View File

@ -180,8 +180,7 @@ function changeMargin( node )
nodeToStyle = gDialog.marginRight;
val = checkMargin( val, gPageWidth, gDialog.leftInput );
}
val /= gDoingMetric ? 100 : 10;
var style = attr + ":" + val + unitString() + ";";
var style = attr + ":" + (val/10) + unitString() + ";";
nodeToStyle.setAttribute( "style", style );
}

View File

@ -180,8 +180,7 @@ function changeMargin( node )
nodeToStyle = gDialog.marginRight;
val = checkMargin( val, gPageWidth, gDialog.leftInput );
}
val /= gDoingMetric ? 100 : 10;
var style = attr + ":" + val + unitString() + ";";
var style = attr + ":" + (val/10) + unitString() + ";";
nodeToStyle.setAttribute( "style", style );
}