mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
Special processing for NULL locale
svn path=/trunk/; revision=5240
This commit is contained in:
parent
42db286418
commit
84ec27b055
1 changed files with 4 additions and 2 deletions
|
@ -10,14 +10,16 @@ const char *_current_locale;
|
|||
int parse_locale(char *locale, char *lang, char *country, char *code_page);
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
* @unimplemented
|
||||
*/
|
||||
char *setlocale(int category, const char *locale)
|
||||
{
|
||||
char lang[100];
|
||||
char country[100];
|
||||
char code_page[100];
|
||||
parse_locale((char *)locale,lang,country,code_page);
|
||||
if (NULL != locale) {
|
||||
parse_locale((char *)locale,lang,country,code_page);
|
||||
}
|
||||
|
||||
//printf("%s %s %s %s\n",locale,lang,country,code_page);
|
||||
|
||||
|
|
Loading…
Reference in a new issue