Fixed bug #70484 selectordinal doesn't work with named parameters

This commit is contained in:
Anatol Belski 2016-04-11 15:00:58 +02:00
parent 72c9324d70
commit 22336db97f
2 changed files with 101 additions and 0 deletions

View file

@ -264,6 +264,10 @@ static HashTable *umsg_parse_format(MessageFormatter_object *mfo,
type = Formattable::kDouble;
} else if (argType == UMSGPAT_ARG_TYPE_SELECT) {
type = Formattable::kString;
#if U_ICU_VERSION_MAJOR_NUM >= 50
} else if (argType == UMSGPAT_ARG_TYPE_SELECTORDINAL) {
type = Formattable::kDouble;
#endif
} else {
type = Formattable::kString;
}