ICU-3444 when popping paren stack, reset startSP if we pop below it.
X-SVN-Rev: 14597
This commit is contained in:
parent
c27fc4ad35
commit
e954d8c240
@ -298,7 +298,10 @@ uscript_nextRun(UScriptRun *scriptRun, int32_t *pRunStart, int32_t *pRunLimit, U
|
||||
*/
|
||||
if (pairIndex >= 0 && (pairIndex & 1) != 0 && scriptRun->parenSP >= 0) {
|
||||
scriptRun->parenSP -= 1;
|
||||
startSP -= 1;
|
||||
|
||||
if (scriptRun->parenSP < startSP) {
|
||||
startSP = scriptRun->parenSP;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user