ICU-3549 fix crash
X-SVN-Rev: 15050
This commit is contained in:
parent
16f5fd6852
commit
ae02d24abd
@ -2080,7 +2080,7 @@ ures_getFunctionalEquivalent(char *result, int32_t resultCapacity,
|
|||||||
#endif
|
#endif
|
||||||
defUstr = ures_getStringByKey(&bund1, DEFAULT_TAG, &defLen, &subStatus);
|
defUstr = ures_getStringByKey(&bund1, DEFAULT_TAG, &defLen, &subStatus);
|
||||||
if(U_SUCCESS(subStatus) && defLen) {
|
if(U_SUCCESS(subStatus) && defLen) {
|
||||||
u_UCharsToChars(defUstr, defVal, 1023);
|
u_UCharsToChars(defUstr, defVal, u_strlen(defUstr));
|
||||||
#if defined(URES_TREE_DEBUG)
|
#if defined(URES_TREE_DEBUG)
|
||||||
fprintf(stderr, "%s;%s -> default %s=%s, %s\n",
|
fprintf(stderr, "%s;%s -> default %s=%s, %s\n",
|
||||||
path?path:"ICUDATA", parent, keyword, defVal, u_errorName(subStatus));
|
path?path:"ICUDATA", parent, keyword, defVal, u_errorName(subStatus));
|
||||||
|
Loading…
Reference in New Issue
Block a user