msvcrt: Fix the name of the Portuguese locale alias.

This commit is contained in:
Francois Gouget 2012-06-13 19:47:54 +02:00 committed by Alexandre Julliard
parent 768c38034c
commit d8ed347ab3
2 changed files with 2 additions and 2 deletions

View file

@ -85,7 +85,7 @@ static const char * const _country_synonyms[] =
"german-swiss", "des",
"italian-swiss", "its",
"german-austrian", "dea",
"portugese", "ptb",
"portuguese", "ptb",
"portuguese-brazil", "ptb",
"spanish-mexican", "esm",
"norwegian-bokmal", "nor",

View file

@ -472,7 +472,7 @@ static void test_setlocale(void)
if(ret)
ok(!strcmp(ret, "Polish_Poland.1250"), "ret = %s\n", ret);
ret = setlocale(LC_ALL, "portugese");
ret = setlocale(LC_ALL, "portuguese");
ok(ret != NULL || broken (ret == NULL), "ret == NULL\n");
if(ret)
ok(!strcmp(ret, "Portuguese_Brazil.1252"), "ret = %s\n", ret);