Beware of copy-paste!

This commit is contained in:
rbs%maths.uq.edu.au 2000-01-28 00:58:28 +00:00
parent 18844bd37a
commit 163d1d2283

View File

@ -114,7 +114,7 @@ nsMathMLmspaceFrame::Init(nsIPresContext* aPresContext,
if (NS_CONTENT_ATTR_HAS_VALUE == GetAttribute(mContent, mPresentationData.mstyle,
nsMathMLAtoms::depth_, value)) {
if (ParseNumericValue(value, cssValue) && cssValue.IsLengthUnit()) {
mHeight = CalcLength(aPresContext, mStyleContext, cssValue);
mDepth = CalcLength(aPresContext, mStyleContext, cssValue);
}
}