msvcrt/tests: Fix Portuguese locale test on NT4.
This commit is contained in:
parent
ed7c28353d
commit
7ac3c8700c
|
@ -475,7 +475,8 @@ static void test_setlocale(void)
|
|||
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);
|
||||
ok(!strcmp(ret, "Portuguese_Brazil.1252")
|
||||
|| broken(!strcmp(ret, "Portuguese_Portugal.1252")) /* NT4 */, "ret = %s\n", ret);
|
||||
|
||||
ret = setlocale(LC_ALL, "portuguese-brazil");
|
||||
ok(ret != NULL || broken (ret == NULL), "ret == NULL\n");
|
||||
|
|
Loading…
Reference in New Issue