ICU-7548 Problems opening rbbi data in stand-alone file.

X-SVN-Rev: 39179
This commit is contained in:
Andy Heninger 2016-09-09 23:14:12 +00:00
parent 5d9b98cbc3
commit e77e6149d7

View File

@ -1258,7 +1258,7 @@ doOpenChoice(const char *path, const char *type, const char *name,
dataPath = u_getDataDirectory();
/**** Time zone individual files override */
if (isTimeZoneFile(name, type) && isICUData) {
if (isICUData && isTimeZoneFile(name, type)) {
const char *tzFilesDir = u_getTimeZoneFilesDirectory(pErrorCode);
if (tzFilesDir[0] != 0) {
#ifdef UDATA_DEBUG