msvcrt: Fix the name of the Portuguese locale alias.

Francois Gouget fgouget at free.fr
Wed Jun 13 12:47:54 CDT 2012


---

See as discussed on wine-devel:
http://www.winehq.org/pipermail/wine-devel/2012-June/095892.html

 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);
-- 
1.7.10



More information about the wine-patches mailing list