mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-17 20:27:36 -05:00
16 lines
656 B
Diff
16 lines
656 B
Diff
|
Copied from Debian.
|
||
|
|
||
|
diff --git a/source/common/ucnv_io.cpp b/source/common/ucnv_io.cpp
|
||
|
index 5dd35d8..4424664 100644
|
||
|
--- a/source/common/ucnv_io.cpp
|
||
|
+++ b/source/common/ucnv_io.cpp
|
||
|
@@ -744,7 +744,7 @@ ucnv_io_getConverterName(const char *alias, UBool *containsOption, UErrorCode *p
|
||
|
* the name begins with 'x-'. If it does, strip it off and try
|
||
|
* again. This behaviour is similar to how ICU4J does it.
|
||
|
*/
|
||
|
- if (aliasTmp[0] == 'x' || aliasTmp[1] == '-') {
|
||
|
+ if (aliasTmp[0] == 'x' && aliasTmp[1] == '-') {
|
||
|
aliasTmp = aliasTmp+2;
|
||
|
} else {
|
||
|
break;
|