ICU-2487 NULL -> '\0'

X-SVN-Rev: 15404
This commit is contained in:
Steven R. Loomis 2004-05-19 15:44:12 +00:00
parent 205d2d29aa
commit de66112963

View file

@ -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);