mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
ICU-2699 Fix a compiler warning
X-SVN-Rev: 11876
This commit is contained in:
parent
702663805e
commit
8cd78a419a
1 changed files with 6 additions and 3 deletions
|
@ -814,9 +814,12 @@ _MBCSOpen(UConverter *cnv,
|
|||
}
|
||||
}
|
||||
|
||||
if(uprv_strstr(name, "gb18030")!=NULL || uprv_strstr(name, "GB18030")!=NULL) {
|
||||
/* set a flag for GB 18030 mode, which changes the callback behavior */
|
||||
cnv->options|=_MBCS_OPTION_GB18030;
|
||||
|
||||
if(uprv_strstr(name, "18030")!=NULL) {
|
||||
if(uprv_strstr(name, "gb18030")!=NULL || uprv_strstr(name, "GB18030")!=NULL) {
|
||||
/* set a flag for GB 18030 mode, which changes the callback behavior */
|
||||
cnv->options|=_MBCS_OPTION_GB18030;
|
||||
}
|
||||
}
|
||||
|
||||
_MBCSReset(cnv, UCNV_RESET_BOTH);
|
||||
|
|
Loading…
Add table
Reference in a new issue