mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-2487 NULL -> '\0'
X-SVN-Rev: 15404
This commit is contained in:
parent
205d2d29aa
commit
de66112963
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ void CalendarData::initData(const char *locale, const char *type, UErrorCode& st
|
|||
fFillin = ures_getByKey(fOtherFillin, U_CALENDAR_KEY, fFillin, &status);
|
||||
|
||||
if((type != NULL) &&
|
||||
(*type != NULL) &&
|
||||
(*type != '\0') &&
|
||||
(uprv_strcmp(type, U_GREGORIAN_KEY))) {
|
||||
fBundle = ures_getByKeyWithFallback(fFillin, type, NULL, &status);
|
||||
fFallback = ures_getByKeyWithFallback(fFillin, U_GREGORIAN_KEY, NULL, &status);
|
||||
|
|
Loading…
Add table
Reference in a new issue