ICU-2091 Only need to get the data directory once

X-SVN-Rev: 9657
This commit is contained in:
George Rhoten 2002-08-09 21:18:31 +00:00
parent 39b343fc08
commit 4713007464

View File

@ -1024,7 +1024,7 @@ doOpenChoice(const char *path, const char *type, const char *name,
/* #1 look in ind. files ================================== */
/* init path iterator for individual files */
udata_pathiter_init(&iter, u_getDataDirectory(), path, tocEntrySuffix, FALSE);
udata_pathiter_init(&iter, dataPath, path, tocEntrySuffix, FALSE);
while((pathBuffer = udata_pathiter_next(&iter, &pathLen)))
{