Skip to content
Snippets Groups Projects
Commit a4f0cbcd authored by Jonathan Kew's avatar Jonathan Kew
Browse files

Bug 1279814 - Update mIsoRunLast index when handling PDI. r=xidorn

parent 47f0d2bc
No related branches found
No related tags found
No related merge requests found
......@@ -653,7 +653,8 @@ nsBidi::BracketData::ProcessLRI_RLI(nsBidiLevel aLevel)
void
nsBidi::BracketData::ProcessPDI()
{
mIsoRuns[mIsoRunLast].lastBase = O_N;
MOZ_ASSERT(mIsoRunLast > 0);
mIsoRuns[--mIsoRunLast].lastBase = O_N;
}
/* newly found opening bracket: create an openings entry */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment