ICU-421 detect correctly if there is a basename

X-SVN-Rev: 1564
This commit is contained in:
Markus Scherer 2000-06-05 17:24:34 +00:00
parent c666d92afc
commit 9b33ab2734

View File

@ -966,7 +966,7 @@ doOpenChoice(const char *path, const char *type, const char *name,
}
/* try path+basename+"_"+entryName first */
if(inBasename!=path) {
if(*inBasename!=0) {
suffix=strcpy_returnEnd(basename, inBasename);
*suffix++='_';
uprv_strcpy(suffix, tocEntryName);