projects
/
platform
/
core
/
api
/
base-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f69861f
)
Fix bugs in i18n_unumber_create
98/180698/1
submit/tizen/20180604.080856
author
Hyunjee Kim
<hj0426.kim@samsung.com>
Fri, 1 Jun 2018 07:41:17 +0000
(16:41 +0900)
committer
Hyunjee Kim
<hj0426.kim@samsung.com>
Fri, 1 Jun 2018 07:42:02 +0000
(16:42 +0900)
Change-Id: Ib90af48867c687d5d191d9e5a6906073ff10cc51
Signed-off-by: Hyunjee Kim <hj0426.kim@samsung.com>
src/utils_i18n_unumber.c
patch
|
blob
|
history
diff --git
a/src/utils_i18n_unumber.c
b/src/utils_i18n_unumber.c
index
ecd1872
..
578f6ca
100644
(file)
--- a/
src/utils_i18n_unumber.c
+++ b/
src/utils_i18n_unumber.c
@@
-24,7
+24,7
@@
int i18n_unumber_create(i18n_unumber_format_style_e style, const i18n_uchar *pat
i18n_unumber_format_h *num_format)
{
retv_if(num_format == NULL, I18N_ERROR_INVALID_PARAMETER);
- retv_if(style > I18N_UNUMBER_
CURRENCY_PLURAL
, I18N_ERROR_INVALID_PARAMETER);
+ retv_if(style > I18N_UNUMBER_
FORMAT_STYLE_COUNT
, I18N_ERROR_INVALID_PARAMETER);
UErrorCode icu_error = U_ZERO_ERROR;
*num_format =