OLD | NEW |
| (Empty) |
1 diff --git a/source/common/ucnv_io.cpp b/source/common/ucnv_io.cpp | |
2 index 5dd35d8..4424664 100644 | |
3 --- a/source/common/ucnv_io.cpp | |
4 +++ b/source/common/ucnv_io.cpp | |
5 @@ -744,7 +744,7 @@ ucnv_io_getConverterName(const char *alias, UBool *containsO
ption, UErrorCode *p | |
6 * the name begins with 'x-'. If it does, strip it off and try | |
7 * again. This behaviour is similar to how ICU4J does it. | |
8 */ | |
9 - if (aliasTmp[0] == 'x' || aliasTmp[1] == '-') { | |
10 + if (aliasTmp[0] == 'x' && aliasTmp[1] == '-') { | |
11 aliasTmp = aliasTmp+2; | |
12 } else { | |
13 break; | |
OLD | NEW |