Misspelt Portuguese in msvcrt

Francois Gouget fgouget at free.fr
Tue Jun 12 22:19:25 CDT 2012


Is there a reason why Portuguese is misspelt in these two places?


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



-- 
Francois Gouget <fgouget at free.fr>              http://fgouget.free.fr/
              E-Voting: Those who cast the votes decide nothing.
                 Those who count the votes decide everything.



More information about the wine-devel mailing list