Detlef Riekenberg : mlang/tests: Fix a failure on win98 with mlang 4.72.

Alexandre Julliard julliard at winehq.org
Tue Jun 9 10:45:27 CDT 2009


Module: wine
Branch: master
Commit: 0e1d18eaf579f5ddc59adaf974acfd51aea67d36
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0e1d18eaf579f5ddc59adaf974acfd51aea67d36

Author: Detlef Riekenberg <wine.dev at web.de>
Date:   Mon Jun  8 23:53:34 2009 +0200

mlang/tests: Fix a failure on win98 with mlang 4.72.

---

 dlls/mlang/tests/mlang.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/mlang/tests/mlang.c b/dlls/mlang/tests/mlang.c
index 08be7a8..ab190b9 100644
--- a/dlls/mlang/tests/mlang.c
+++ b/dlls/mlang/tests/mlang.c
@@ -88,7 +88,7 @@ static const lcid_table_entry  lcid_table[] = {
     {"fr-ca", 0x0c0c,   S_OK},
     {"fr-ch", 0x100c,   S_OK},
     {"fr-lu", 0x140c,   S_OK},
-    {"fr-mc", 0x180c,   S_OK, 0x040c},
+    {"fr-mc", 0x180c,   S_OK, 0x040c, "fr"},
 
     {"it",    0x0410,   S_OK},
     {"it-ch", 0x0810,   S_OK},
@@ -1113,6 +1113,7 @@ static void test_LcidToRfc1766(void)
                     lstrlenA(lcid_table[i].rfc1766) + 1, expected, MAX_RFC1766_NAME);
 
         /* IE <6.0 return "x-kok" for LCID 0x457 ("kok") */
+        /* IE <5.0 return "fr" for LCID 0x180c ("fr-mc") */
         ok( (!lstrcmpA(buffer, expected)) ||
             broken(!lstrcmpA(buffer, lcid_table[i].broken_rfc)),
             "#%02d: got '%s' (expected '%s')\n", i, buffer, expected);




More information about the wine-cvs mailing list