mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
e6e261a470
commit
2bb4447158
@ -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;
|
||||
}
|
||||
mSeparatorsCount = sepCount;
|
||||
}
|
||||
return NS_OK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user