mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-7912 one last (?) review comment
X-SVN-Rev: 34436
This commit is contained in:
parent
58fd7c7583
commit
02d576bc82
1 changed files with 1 additions and 1 deletions
|
@ -792,7 +792,7 @@ unum_parseToUFormattable(const UNumberFormat* fmt,
|
|||
UErrorCode* status) {
|
||||
UFormattable *newFormattable = NULL;
|
||||
if (U_FAILURE(*status)) return result;
|
||||
if (fmt == NULL) {
|
||||
if (fmt == NULL || (text==NULL && textLength!=0)) {
|
||||
*status = U_ILLEGAL_ARGUMENT_ERROR;
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue