mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 17:24:01 +00:00
ICU-10142 fix for old-style C
X-SVN-Rev: 34169
This commit is contained in:
parent
2786b25dff
commit
7eeeccbcbb
1 changed files with 2 additions and 1 deletions
|
@ -966,7 +966,6 @@ directionFromFlags(UBiDi *pBiDi) {
|
|||
*/
|
||||
static UBiDiDirection
|
||||
resolveExplicitLevels(UBiDi *pBiDi, UErrorCode *pErrorCode) {
|
||||
if(U_FAILURE(*pErrorCode)) { return UBIDI_LTR; }
|
||||
DirProp *dirProps=pBiDi->dirProps;
|
||||
UBiDiLevel *levels=pBiDi->levels;
|
||||
const UChar *text=pBiDi->text;
|
||||
|
@ -978,6 +977,8 @@ resolveExplicitLevels(UBiDi *pBiDi, UErrorCode *pErrorCode) {
|
|||
UBiDiDirection direction;
|
||||
pBiDi->isolateCount=0;
|
||||
|
||||
if(U_FAILURE(*pErrorCode)) { return UBIDI_LTR; }
|
||||
|
||||
/* determine if the text is mixed-directional or single-directional */
|
||||
direction=directionFromFlags(pBiDi);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue