Francois Gouget : msvcrt: Fix the name of the Portuguese locale alias.
Alexandre Julliard
julliard at winehq.org
Wed Jun 13 16:08:34 CDT 2012
Module: wine
Branch: master
Commit: d8ed347ab390ccdd2b413df31fa4d62f9e863744
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d8ed347ab390ccdd2b413df31fa4d62f9e863744
Author: Francois Gouget <fgouget at free.fr>
Date: Wed Jun 13 19:47:54 2012 +0200
msvcrt: Fix the name of the Portuguese locale alias.
---
dlls/msvcrt/locale.c | 2 +-
dlls/msvcrt/tests/locale.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/msvcrt/locale.c b/dlls/msvcrt/locale.c
index 97b82ec..b26a9c8 100644
--- a/dlls/msvcrt/locale.c
+++ b/dlls/msvcrt/locale.c
@@ -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",
diff --git a/dlls/msvcrt/tests/locale.c b/dlls/msvcrt/tests/locale.c
index 8d6a34f..638a3d2 100644
--- a/dlls/msvcrt/tests/locale.c
+++ b/dlls/msvcrt/tests/locale.c
@@ -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);
More information about the wine-cvs
mailing list