ICU-865 Optimizing bug for win32 and intltest

X-SVN-Rev: 4036
This commit is contained in:
George Rhoten 2001-03-12 23:41:04 +00:00
parent aa90b3468e
commit a075c38f0c

View File

@ -90,7 +90,7 @@
(c)=UTF_ERROR_VALUE; \
} \
} else { \
if((i)>(start) && UTF_IS_FIRST_SURROGATE(__c2=(s)[(i)-1])) { \
if((i)-1>=(start) && UTF_IS_FIRST_SURROGATE(__c2=(s)[(i)-1])) { \
(c)=UTF16_GET_PAIR_VALUE(__c2, (c)); \
/* strict: ((c)&0xfffe)==0xfffe is caught by UTF_IS_ERROR() */ \
} else if(strict) {\