mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-17 02:37:25 +00:00
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:
parent
b1c08ad27e
commit
2c2853f1fe
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue