ICU-4078 Don't use uloc_getDefault when it's not needed.

Also the example is better to use NULL for getting the default locale.

X-SVN-Rev: 16278
This commit is contained in:
George Rhoten 2004-09-08 22:25:45 +00:00
parent b1c08ad27e
commit 2c2853f1fe

View file

@ -96,8 +96,8 @@ void pkg_sttc_writeReadme(struct UPKGOptions_ *o, const char *libName, UErrorCod
"\n\n"
"4. Now, you may access this data with a 'path' of \"%s\" as in the following example:\n"
"\n"
" ... ures_open( \"%s\", \"%s\", &err ); \n",
libName, o->shortName, o->shortName, uloc_getDefault());
" ... ures_open( \"%s\", NULL /* Get the default locale */, &err ); \n",
libName, o->shortName, o->shortName);
T_FileStream_writeLine(out, tmp);
T_FileStream_close(out);