Kaydet (Commit) 854bf739 authored tarafından Caolán McNamara's avatar Caolán McNamara

bidi, the gift that keeps on giving

Change-Id: Ia33eb3e4c89963d7391df0339a2a5b948efd0d9f
üst ef2668ba
--- icu/source/common/ubidi.c.orig 2014-08-09 20:54:39.338833533 +0100
+++ icu/source/common/ubidi.c 2014-08-09 20:55:48.625469055 +0100
@@ -2097,6 +2097,12 @@
@@ -2096,6 +2096,14 @@
return DirProp_ON;
}
+static int
+isolatesavailable(UBiDi *pBiDi) {
+ return (pBiDi->isolateCount < SIMPLE_ISOLATES_SIZE-1 ||
+ pBiDi->isolateCount < pBiDi->isolatesSize/sizeof(Isolate)-1);
+ if (pBiDi->isolates == pBiDi->simpleIsolates) {
+ return pBiDi->isolateCount < SIMPLE_ISOLATES_SIZE-1;
+ }
+ return pBiDi->isolateCount < pBiDi->isolatesSize/sizeof(Isolate)-1;
+}
+
static void
resolveImplicitLevels(UBiDi *pBiDi,
int32_t start, int32_t limit,
@@ -2240,7 +2246,7 @@
@@ -2239,7 +2247,7 @@
/* look for the last char not a BN or LRE/RLE/LRO/RLO/PDF */
for(i=limit-1; i>start&&(DIRPROP_FLAG(dirProps[i])&MASK_BN_EXPLICIT); i--);
dirProp=dirProps[i];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment