зеркало из https://github.com/mozilla/gecko-dev.git
Don't set our separator count to -1 when we really have 0 of them. Bug 400157, r+sr=dbaron
This commit is contained in:
Родитель
9049c9f1af
Коммит
3d5125628d
|
@ -195,8 +195,12 @@ nsMathMLmfencedFrame::CreateFencesAndSeparators(nsPresContext* aPresContext)
|
|||
mSeparatorsChar[i].SetData(aPresContext, sepChar);
|
||||
ResolveMathMLCharStyle(aPresContext, mContent, mStyleContext, &mSeparatorsChar[i], isMutable);
|
||||
}
|
||||
}
|
||||
mSeparatorsCount = sepCount;
|
||||
} else {
|
||||
// No separators. Note that sepCount can be -1 here, so don't
|
||||
// set mSeparatorsCount to it.
|
||||
mSeparatorsCount = 0;
|
||||
}
|
||||
}
|
||||
return NS_OK;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче